/ Mac Mania 2
/ MacMania 2.toast / Demo's / Tools&Utilities / HyperCard / Five Dice 1.3 Folder / Five Dice 1.3 ![]() | < prev |
MacBinary | 1993-02-28 | 377.3 KB | [STAK/WILD] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
100% | dexvert | HyperCard Stack (archive/hypercard) | idMeta | Supported |
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, busy, Fri Aug 28 10:52:10 1992, modified Sun Feb 28 02:31:46 1993, creator HyperCard, type HyperCard stack, 79936 bytes "Five Dice 1.3" , at 0x138c0 306093 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Mac HyperCard stack (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [STAK] |
macFileCreator | [WILD] |
+--------+-------------------------+-------------------------+--------+--------+Only 25.0 KB of data is shown above.
|00000000| 00 0d 46 69 76 65 20 44 | 69 63 65 20 31 2e 33 00 |..Five D|ice 1.3.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 38 40 00 | 04 ab ad a6 c3 ee 1a a7 |.....8@.|........|
|00000060| b6 1a e2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 de ee 00 00 |........|........|
|00000080| 00 00 3e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..>.STAK|........|
|00000090| 00 00 00 0a 00 01 38 40 | 00 00 3e 00 00 00 00 00 |......8@|..>.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a fa 00 00 00 03 |........|........|
|000000b0| 00 00 0b 0a 00 00 11 36 | 00 00 00 00 00 00 00 00 |.......6|........|
|000000c0| 00 00 00 00 69 74 d3 39 | 00 02 00 00 14 00 00 00 |....it.9|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 2b 87 d9 e9 00 00 00 00 | 00 6e 00 40 01 96 02 40 |+.......|.n.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 45 00 00 0c ff | 01 28 02 00 00 00 00 00 |...E....|.(......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | aa dd aa 77 aa dd aa 77 |.."...".|...w...w|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 81 81 81 ff 5d aa 5d |..".....|.....].]|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 4f 6e 20 4f 70 65 6e 53 | 74 61 63 6b 0d 73 65 74 |On OpenS|tack.set|
|00000690| 20 75 73 65 72 6c 65 76 | 65 6c 20 74 6f 20 32 0d | userlev|el to 2.|
|000006a0| 67 6f 20 74 6f 20 66 69 | 72 73 74 20 63 61 72 64 |go to fi|rst card|
|000006b0| 0d 47 6c 6f 62 61 6c 20 | 50 6c 61 79 65 72 4e 6f |.Global |PlayerNo|
|000006c0| 20 2d 2d 20 74 68 69 73 | 20 69 73 20 74 68 65 20 | -- this| is the |
|000006d0| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 63 75 |number o|f the cu|
|000006e0| 72 72 65 6e 74 20 50 6c | 61 79 65 72 0d 47 6c 6f |rrent Pl|ayer.Glo|
|000006f0| 62 61 6c 20 4e 6f 4f 66 | 50 6c 61 79 65 72 73 20 |bal NoOf|Players |
|00000700| 2d 2d 20 74 68 69 73 20 | 69 73 20 74 68 65 20 6e |-- this |is the n|
|00000710| 75 6d 62 65 72 20 6f 66 | 20 70 6c 61 79 65 72 73 |umber of| players|
|00000720| 20 69 6e 20 67 61 6d 65 | 0d 47 6c 6f 62 61 6c 20 | in game|.Global |
|00000730| 42 79 70 61 73 73 20 2d | 2d 20 62 79 70 61 73 73 |Bypass -|- bypass|
|00000740| 65 73 20 61 20 64 69 61 | 6c 6f 67 65 20 62 6f 78 |es a dia|loge box|
|00000750| 20 77 68 65 6e 20 6e 65 | 65 64 65 64 0d 47 6c 6f | when ne|eded.Glo|
|00000760| 62 61 6c 20 53 54 4f 50 | 20 2d 2d 20 76 61 72 69 |bal STOP| -- vari|
|00000770| 61 62 6c 65 20 74 6f 20 | 73 74 6f 70 20 65 78 69 |able to |stop exi|
|00000780| 63 75 74 69 6f 6e 20 6f | 66 20 61 20 73 63 72 69 |cution o|f a scri|
|00000790| 70 74 0d 47 6c 6f 62 61 | 6c 20 42 6f 6e 75 73 59 |pt.Globa|l BonusY|
|000007a0| 61 68 74 7a 65 65 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ahtzee.-|--------|
|000007b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007e0| 2d 2d 2d 2d 2d 2d 0d 70 | 75 74 20 22 54 72 75 65 |------.p|ut "True|
|000007f0| 22 20 69 6e 74 6f 20 42 | 79 50 61 73 73 0d 6e 65 |" into B|yPass.ne|
|00000800| 77 47 61 6d 65 0d 65 6e | 64 20 4f 70 65 6e 53 74 |wGame.en|d OpenSt|
|00000810| 61 63 6b 0d 0d 6f 6e 20 | 43 6c 6f 73 65 53 74 61 |ack..on |CloseSta|
|00000820| 63 6b 0d 70 6c 61 79 20 | 22 50 6f 72 6b 79 22 0d |ck.play |"Porky".|
|00000830| 67 65 74 20 74 68 65 20 | 66 72 65 65 53 69 7a 65 |get the |freeSize|
|00000840| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 69 | of this| stack.i|
|00000850| 66 20 69 74 20 3e 20 31 | 30 32 34 2a 31 30 20 74 |f it > 1|024*10 t|
|00000860| 68 65 6e 20 64 6f 4d 65 | 6e 75 20 22 43 6f 6d 70 |hen doMe|nu "Comp|
|00000870| 61 63 74 20 53 74 61 63 | 6b 22 0d 77 61 69 74 20 |act Stac|k".wait |
|00000880| 75 6e 74 69 6c 20 74 68 | 65 20 73 6f 75 6e 64 20 |until th|e sound |
|00000890| 69 73 20 22 64 6f 6e 65 | 22 0d 65 6e 64 20 63 6c |is "done|".end cl|
|000008a0| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 43 6c 65 |oseStack|..on Cle|
|000008b0| 61 72 50 6c 61 79 65 72 | 73 0d 67 6c 6f 62 61 6c |arPlayer|s.global|
|000008c0| 20 50 6c 61 79 65 72 4e | 6f 0d 67 6c 6f 62 61 6c | PlayerN|o.global|
|000008d0| 20 4e 6f 4f 66 50 6c 61 | 79 65 72 73 0d 72 65 70 | NoOfPla|yers.rep|
|000008e0| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 31 20 74 |eat with| x = 1 t|
|000008f0| 6f 20 4e 6f 4f 66 50 6c | 61 79 65 72 73 0d 73 65 |o NoOfPl|ayers.se|
|00000900| 74 20 68 69 6c 69 67 68 | 74 20 6f 66 20 62 67 20 |t hiligh|t of bg |
|00000910| 62 75 74 74 6f 6e 20 28 | 22 50 6c 61 79 65 72 22 |button (|"Player"|
|00000920| 20 26 20 78 29 20 74 6f | 20 66 61 6c 73 65 0d 65 | & x) to| false.e|
|00000930| 6e 64 20 72 65 70 65 61 | 74 0d 73 65 74 20 68 69 |nd repea|t.set hi|
|00000940| 6c 69 67 68 74 20 6f 66 | 20 62 67 20 62 75 74 74 |light of| bg butt|
|00000950| 6f 6e 20 28 22 50 6c 61 | 79 65 72 22 20 26 20 50 |on ("Pla|yer" & P|
|00000960| 6c 61 79 65 72 4e 6f 29 | 20 74 6f 20 74 72 75 65 |layerNo)| to true|
|00000970| 0d 65 6e 64 20 43 6c 65 | 61 72 50 6c 61 79 65 72 |.end Cle|arPlayer|
|00000980| 73 0d 0d 6f 6e 20 4e 65 | 77 54 75 72 6e 0d 47 6c |s..on Ne|wTurn.Gl|
|00000990| 6f 62 61 6c 20 44 69 63 | 65 55 73 65 64 0d 47 6c |obal Dic|eUsed.Gl|
|000009a0| 6f 62 61 6c 20 50 6c 61 | 79 65 72 4e 6f 0d 47 6c |obal Pla|yerNo.Gl|
|000009b0| 6f 62 61 6c 20 4e 6f 4f | 66 50 6c 61 79 65 72 73 |obal NoO|fPlayers|
|000009c0| 0d 47 6c 6f 62 61 6c 20 | 54 75 72 6e 4e 6f 0d 47 |.Global |TurnNo.G|
|000009d0| 6c 6f 62 61 6c 20 53 74 | 6f 70 0d 43 68 65 63 6b |lobal St|op.Check|
|000009e0| 47 61 6d 65 45 6e 64 0d | 69 66 20 73 74 6f 70 20 |GameEnd.|if stop |
|000009f0| 3d 20 22 54 72 75 65 22 | 0d 74 68 65 6e 0d 45 6e |= "True"|.then.En|
|00000a00| 64 47 61 6d 65 0d 65 78 | 69 74 20 4e 65 77 54 75 |dGame.ex|it NewTu|
|00000a10| 72 6e 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 35 20 |rn.end i|f.put 5 |
|00000a20| 69 6e 74 6f 20 44 69 63 | 65 55 73 65 64 0d 53 77 |into Dic|eUsed.Sw|
|00000a30| 69 74 63 68 53 6f 75 6e | 64 73 0d 69 66 20 50 6c |itchSoun|ds.if Pl|
|00000a40| 61 79 65 72 4e 6f 20 3c | 3e 20 4e 6f 4f 66 50 6c |ayerNo <|> NoOfPl|
|00000a50| 61 79 65 72 73 20 74 68 | 65 6e 20 70 75 74 20 50 |ayers th|en put P|
|00000a60| 6c 61 79 65 72 4e 6f 20 | 2b 20 31 20 69 6e 74 6f |layerNo |+ 1 into|
|00000a70| 20 50 6c 61 79 65 72 4e | 6f 0d 45 6c 73 65 20 70 | PlayerN|o.Else p|
|00000a80| 75 74 20 31 20 69 6e 74 | 6f 20 50 6c 61 79 65 72 |ut 1 int|o Player|
|00000a90| 4e 4f 0d 43 6c 65 61 72 | 50 6c 61 79 65 72 73 0d |NO.Clear|Players.|
|00000aa0| 70 6c 61 79 20 22 66 6c | 75 74 65 22 20 74 65 6d |play "fl|ute" tem|
|00000ab0| 70 6f 20 32 35 30 20 22 | 63 71 20 65 20 67 20 65 |po 250 "|cq e g e|
|00000ac0| 20 63 68 22 0d 72 65 70 | 65 61 74 20 77 69 74 68 | ch".rep|eat with|
|00000ad0| 20 78 20 3d 20 31 20 74 | 6f 20 35 0d 73 65 74 20 | x = 1 t|o 5.set |
|00000ae0| 68 69 6c 69 67 68 74 20 | 6f 66 20 62 67 20 62 75 |hilight |of bg bu|
|00000af0| 74 74 6f 6e 20 78 20 74 | 6f 20 74 72 75 65 0d 65 |tton x t|o true.e|
|00000b00| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 22 22 |nd repea|t.put ""|
|00000b10| 20 69 6e 74 6f 20 62 67 | 20 66 69 65 6c 64 20 22 | into bg| field "|
|00000b20| 72 6f 6c 6c 23 22 0d 70 | 75 74 20 54 75 72 6e 4e |roll#".p|ut TurnN|
|00000b30| 6f 20 2b 20 31 20 69 6e | 74 6f 20 54 75 72 6e 4e |o + 1 in|to TurnN|
|00000b40| 6f 0d 65 6e 64 20 4e 65 | 77 54 75 72 6e 0d 0d 6f |o.end Ne|wTurn..o|
|00000b50| 6e 20 43 6c 65 61 72 44 | 69 63 65 0d 72 65 70 65 |n ClearD|ice.repe|
|00000b60| 61 74 20 77 69 74 68 20 | 78 20 3d 20 31 20 74 6f |at with |x = 1 to|
|00000b70| 20 35 0d 73 65 74 20 68 | 69 6c 69 67 68 74 20 6f | 5.set h|ilight o|
|00000b80| 66 20 62 67 20 62 75 74 | 74 6f 6e 20 78 20 74 6f |f bg but|ton x to|
|00000b90| 20 66 61 6c 73 65 0d 65 | 6e 64 20 72 65 70 65 61 | false.e|nd repea|
|00000ba0| 74 0d 65 6e 64 20 43 6c | 65 61 72 44 69 63 65 0d |t.end Cl|earDice.|
|00000bb0| 0d 6f 6e 20 4e 65 77 47 | 61 6d 65 0d 6c 6f 63 6b |.on NewG|ame.lock|
|00000bc0| 20 73 63 72 65 65 6e 0d | 47 6c 6f 62 61 6c 20 50 | screen.|Global P|
|00000bd0| 6c 61 79 65 72 4e 6f 0d | 67 6c 6f 62 61 6c 20 62 |layerNo.|global b|
|00000be0| 79 70 61 73 73 0d 47 6c | 6f 62 61 6c 20 4e 6f 4f |ypass.Gl|obal NoO|
|00000bf0| 66 50 6c 61 79 65 72 73 | 0d 47 6c 6f 62 61 6c 20 |fPlayers|.Global |
|00000c00| 54 75 72 6e 4e 6f 0d 70 | 6c 61 79 20 22 66 6c 75 |TurnNo.p|lay "flu|
|00000c10| 74 65 22 20 74 65 6d 70 | 6f 20 32 35 30 20 22 63 |te" temp|o 250 "c|
|00000c20| 71 20 64 20 63 20 65 20 | 63 20 66 71 20 66 71 20 |q d c e |c fq fq |
|00000c30| 66 71 2e 22 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |fq.".---|--------|
|00000c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c70| 2d 0d 69 66 20 62 79 70 | 61 73 73 20 3c 3e 20 22 |-.if byp|ass <> "|
|00000c80| 74 72 75 65 22 0d 74 68 | 65 6e 0d 41 6e 73 77 65 |true".th|en.Answe|
|00000c90| 72 20 22 41 72 65 20 79 | 6f 75 20 73 75 72 65 20 |r "Are y|ou sure |
|00000ca0| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 73 74 61 72 |you want| to star|
|00000cb0| 74 20 61 20 6e 65 77 20 | 67 61 6d 65 3f 22 20 77 |t a new |game?" w|
|00000cc0| 69 74 68 20 22 79 65 73 | 22 20 6f 72 20 22 63 61 |ith "yes|" or "ca|
|00000cd0| 6e 63 65 6c 22 0d 69 66 | 20 69 74 20 3d 20 22 63 |ncel".if| it = "c|
|00000ce0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00000cf0| 20 4e 65 77 47 61 6d 65 | 0d 61 6e 73 77 65 72 20 | NewGame|.answer |
|00000d00| 22 57 69 6c 6c 20 74 68 | 69 73 20 62 65 20 74 68 |"Will th|is be th|
|00000d10| 65 20 73 61 6d 65 20 70 | 6c 61 79 65 72 73 20 61 |e same p|layers a|
|00000d20| 6e 64 20 74 68 65 20 73 | 61 6d 65 20 67 61 6d 65 |nd the s|ame game|
|00000d30| 3f 22 20 77 69 74 68 20 | 22 79 65 73 22 20 6f 72 |?" with |"yes" or|
|00000d40| 20 22 6e 6f 22 0d 65 6e | 64 20 69 66 0d 70 75 74 | "no".en|d if.put|
|00000d50| 20 22 46 61 6c 73 65 22 | 20 69 6e 74 6f 20 62 79 | "False"| into by|
|00000d60| 70 61 73 73 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |pass.---|--------|
|00000d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d80| 2d 2d 0d 69 66 20 69 74 | 20 3c 3e 20 22 59 65 73 |--.if it| <> "Yes|
|00000d90| 22 0d 74 68 65 6e 0d 70 | 75 74 20 33 20 69 6e 74 |".then.p|ut 3 int|
|00000da0| 6f 20 4d 61 78 50 6c 61 | 79 65 72 73 20 2d 2d 20 |o MaxPla|yers -- |
|00000db0| 43 68 61 6e 67 65 20 74 | 68 69 73 20 6c 61 74 65 |Change t|his late|
|00000dc0| 72 3f 3f 3f 3f 3f 3f 3f | 3f 3f 3f 3f 3f 3f 3f 3f |r???????|????????|
|00000dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 72 65 70 65 61 74 0d |--------|.repeat.|
|00000de0| 61 6e 73 77 65 72 20 22 | 48 6f 77 20 6d 61 6e 79 |answer "|How many|
|00000df0| 20 70 6c 61 79 65 72 73 | 3f 22 20 77 69 74 68 20 | players|?" with |
|00000e00| 22 31 22 20 6f 72 20 22 | 32 22 20 6f 72 20 22 33 |"1" or "|2" or "3|
|00000e10| 22 0d 69 66 20 69 74 20 | 3e 20 30 20 41 4e 44 20 |".if it |> 0 AND |
|00000e20| 69 74 20 3c 3d 20 4d 61 | 78 50 6c 61 79 65 72 73 |it <= Ma|xPlayers|
|00000e30| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|00000e40| 74 0d 65 6c 73 65 20 41 | 6e 73 77 65 72 20 22 50 |t.else A|nswer "P|
|00000e50| 6c 65 61 73 65 20 65 6e | 74 65 72 20 61 20 6e 75 |lease en|ter a nu|
|00000e60| 6d 62 65 72 20 66 72 6f | 6d 20 31 20 74 6f 22 20 |mber fro|m 1 to" |
|00000e70| 26 26 20 4d 61 78 50 6c | 61 79 65 72 73 20 26 20 |&& MaxPl|ayers & |
|00000e80| 22 2e 22 20 77 69 74 68 | 20 22 6f 6b 22 0d 65 6e |"." with| "ok".en|
|00000e90| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 69 74 20 |d repeat|.put it |
|00000ea0| 69 6e 74 6f 20 4e 6f 4f | 66 50 6c 61 79 65 72 73 |into NoO|fPlayers|
|00000eb0| 0d 41 6e 73 77 65 72 20 | 22 57 68 61 74 20 6b 69 |.Answer |"What ki|
|00000ec0| 6e 64 20 6f 66 20 67 61 | 6d 65 3f 22 20 77 69 74 |nd of ga|me?" wit|
|00000ed0| 68 20 22 6e 6f 72 6d 61 | 6c 22 20 6f 72 20 22 64 |h "norma|l" or "d|
|00000ee0| 6f 75 62 6c 65 22 20 6f | 72 20 22 74 72 69 70 6c |ouble" o|r "tripl|
|00000ef0| 65 22 0d 69 66 20 69 74 | 20 3d 20 22 6e 6f 72 6d |e".if it| = "norm|
|00000f00| 61 6c 22 20 74 68 65 6e | 20 73 65 6e 64 20 53 65 |al" then| send Se|
|00000f10| 74 55 70 4e 6f 72 6d 61 | 6c 20 74 6f 20 74 68 69 |tUpNorma|l to thi|
|00000f20| 73 20 62 67 0d 69 66 20 | 69 74 20 3d 20 22 64 6f |s bg.if |it = "do|
|00000f30| 75 62 6c 65 22 20 74 68 | 65 6e 20 73 65 6e 64 20 |uble" th|en send |
|00000f40| 53 65 74 55 70 44 6f 75 | 62 6c 65 20 74 6f 20 74 |SetUpDou|ble to t|
|00000f50| 68 69 73 20 62 67 0d 69 | 66 20 69 74 20 3d 20 22 |his bg.i|f it = "|
|00000f60| 74 72 69 70 6c 65 22 20 | 74 68 65 6e 20 73 65 6e |triple" |then sen|
|00000f70| 64 20 53 65 74 55 70 54 | 72 69 70 6c 65 20 74 6f |d SetUpT|riple to|
|00000f80| 20 74 68 69 73 20 62 67 | 0d 53 65 6e 64 20 43 6c | this bg|.Send Cl|
|00000f90| 65 61 72 4e 61 6d 65 73 | 20 74 6f 20 74 68 69 73 |earNames| to this|
|00000fa0| 20 62 67 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 | bg.repe|at with |
|00000fb0| 78 20 3d 20 31 20 74 6f | 20 4e 6f 4f 66 50 6c 61 |x = 1 to| NoOfPla|
|00000fc0| 79 65 72 73 0d 61 73 6b | 20 22 50 6c 65 61 73 65 |yers.ask| "Please|
|00000fd0| 20 45 6e 74 65 72 20 50 | 6c 61 79 65 72 20 23 22 | Enter P|layer #"|
|00000fe0| 20 26 20 78 20 26 22 27 | 73 20 66 69 72 73 74 20 | & x &"'|s first |
|00000ff0| 6e 61 6d 65 2e 22 20 77 | 69 74 68 20 28 22 50 6c |name." w|ith ("Pl|
|00001000| 61 79 65 72 22 20 26 26 | 20 78 29 0d 50 75 74 20 |ayer" &&| x).Put |
|00001010| 69 74 20 69 6e 74 6f 20 | 62 67 20 66 69 65 6c 64 |it into |bg field|
|00001020| 20 28 22 50 6c 61 79 65 | 72 22 20 26 20 78 29 0d | ("Playe|r" & x).|
|00001030| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00001040| 66 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 54 75 72 |f.put 0 |into Tur|
|00001050| 6e 4e 6f 0d 53 65 6e 64 | 20 43 6c 65 61 72 53 63 |nNo.Send| ClearSc|
|00001060| 72 65 65 6e 20 74 6f 20 | 74 68 69 73 20 62 67 0d |reen to |this bg.|
|00001070| 70 75 74 20 31 20 69 6e | 74 6f 20 50 6c 61 79 65 |put 1 in|to Playe|
|00001080| 72 4e 6f 0d 65 6e 64 20 | 4e 65 77 47 61 6d 65 0d |rNo.end |NewGame.|
|00001090| 0d 6f 6e 20 43 68 65 63 | 6b 46 6f 72 52 6f 6c 6c |.on Chec|kForRoll|
|000010a0| 0d 47 6c 6f 62 61 6c 20 | 53 54 4f 50 0d 69 66 20 |.Global |STOP.if |
|000010b0| 62 67 20 66 69 65 6c 64 | 20 22 52 6f 6c 6c 23 22 |bg field| "Roll#"|
|000010c0| 20 3d 20 22 22 20 6f 72 | 20 62 67 20 66 69 65 6c | = "" or| bg fiel|
|000010d0| 64 20 22 52 6f 6c 6c 23 | 22 20 3d 20 30 0d 74 68 |d "Roll#|" = 0.th|
|000010e0| 65 6e 0d 70 6c 61 79 20 | 22 62 75 7a 7a 65 72 22 |en.play |"buzzer"|
|000010f0| 0d 61 6e 73 77 65 72 20 | 22 59 6f 75 20 68 61 76 |.answer |"You hav|
|00001100| 65 20 74 6f 20 72 6f 6c | 6c 20 66 69 72 73 74 2e |e to rol|l first.|
|00001110| 22 20 77 69 74 68 20 22 | 6f 6b 22 0d 70 75 74 20 |" with "|ok".put |
|00001120| 22 54 72 75 65 22 20 69 | 6e 74 6f 20 53 74 6f 70 |"True" i|nto Stop|
|00001130| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 43 68 65 63 |.end if.|end Chec|
|00001140| 6b 46 6f 72 52 6f 6c 6c | 0d 0d 6f 6e 20 43 68 65 |kForRoll|..on Che|
|00001150| 63 6b 42 6c 61 6e 6b 0d | 67 6c 6f 62 61 6c 20 73 |ckBlank.|global s|
|00001160| 74 6f 70 0d 70 75 74 20 | 77 6f 72 64 20 32 20 6f |top.put |word 2 o|
|00001170| 66 20 74 68 65 20 63 6c | 69 63 6b 6c 69 6e 65 20 |f the cl|ickline |
|00001180| 69 6e 74 6f 20 4c 69 6e | 65 4e 6f 0d 70 75 74 20 |into Lin|eNo.put |
|00001190| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 74 68 65 |last wor|d of the|
|000011a0| 20 63 6c 69 63 6b 6c 69 | 6e 65 20 69 6e 74 6f 20 | clickli|ne into |
|000011b0| 46 69 65 6c 64 4e 6f 0d | 69 66 20 6c 69 6e 65 20 |FieldNo.|if line |
|000011c0| 4c 69 6e 65 4e 4f 20 6f | 66 20 62 67 20 66 69 65 |LineNO o|f bg fie|
|000011d0| 6c 64 20 46 69 65 6c 64 | 4e 6f 20 3c 3e 20 22 22 |ld Field|No <> ""|
|000011e0| 0d 74 68 65 6e 0d 62 65 | 65 70 0d 61 6e 73 77 65 |.then.be|ep.answe|
|000011f0| 72 20 22 59 6f 75 20 68 | 61 76 65 20 61 6c 72 65 |r "You h|ave alre|
|00001200| 61 64 79 20 75 73 65 64 | 20 74 68 69 73 20 73 70 |ady used| this sp|
|00001210| 6f 74 2e 22 20 77 69 74 | 68 20 22 6f 6b 22 0d 70 |ot." wit|h "ok".p|
|00001220| 75 74 20 22 54 72 75 65 | 22 20 69 6e 74 6f 20 53 |ut "True|" into S|
|00001230| 74 6f 70 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 43 |top.end |if.end C|
|00001240| 68 65 63 6b 42 6c 61 6e | 6b 0d 0d 6f 6e 20 44 6f |heckBlan|k..on Do|
|00001250| 4d 61 74 68 0d 67 6c 6f | 62 61 6c 20 56 61 6c 75 |Math.glo|bal Valu|
|00001260| 65 0d 67 6c 6f 62 61 6c | 20 62 61 64 70 6c 61 79 |e.global| badplay|
|00001270| 0d 67 6c 6f 62 61 6c 20 | 61 77 65 73 6f 6d 65 70 |.global |awesomep|
|00001280| 6c 61 79 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 54 |lay.put |0 into T|
|00001290| 4f 54 41 4c 0d 70 6c 61 | 79 20 22 75 6e 64 6f 22 |OTAL.pla|y "undo"|
|000012a0| 0d 70 75 74 20 77 6f 72 | 64 20 32 20 6f 66 20 74 |.put wor|d 2 of t|
|000012b0| 68 65 20 43 6c 69 63 6b | 4c 69 6e 65 20 69 6e 74 |he Click|Line int|
|000012c0| 6f 20 54 45 4d 50 0d 72 | 65 70 65 61 74 20 77 69 |o TEMP.r|epeat wi|
|000012d0| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 35 0d 69 66 |th x = 1| to 5.if|
|000012e0| 20 6c 69 6e 65 20 78 20 | 6f 66 20 62 67 20 66 69 | line x |of bg fi|
|000012f0| 65 6c 64 20 22 44 69 63 | 65 22 20 3d 20 54 45 4d |eld "Dic|e" = TEM|
|00001300| 50 20 74 68 65 6e 20 70 | 75 74 20 54 4f 54 41 4c |P then p|ut TOTAL|
|00001310| 20 2b 20 54 45 4d 50 20 | 69 6e 74 6f 20 54 4f 54 | + TEMP |into TOT|
|00001320| 41 4c 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |AL.end r|epeat.pu|
|00001330| 74 20 54 4f 54 41 4c 20 | 69 6e 74 6f 20 56 61 6c |t TOTAL |into Val|
|00001340| 75 65 0d 69 66 20 28 76 | 61 6c 75 65 20 2f 20 33 |ue.if (v|alue / 3|
|00001350| 29 20 3c 20 54 45 4d 50 | 0d 74 68 65 6e 0d 70 6c |) < TEMP|.then.pl|
|00001360| 61 79 20 62 61 64 50 6c | 61 79 0d 70 6c 61 79 20 |ay badPl|ay.play |
|00001370| 22 41 77 77 77 22 0d 65 | 6c 73 65 20 69 66 20 28 |"Awww".e|lse if (|
|00001380| 76 61 6c 75 65 20 2f 20 | 33 29 20 3d 20 54 45 4d |value / |3) = TEM|
|00001390| 50 20 74 68 65 6e 20 70 | 6c 61 79 20 22 41 70 70 |P then p|lay "App|
|000013a0| 6c 61 75 73 65 32 22 0d | 65 6c 73 65 0d 70 6c 61 |lause2".|else.pla|
|000013b0| 79 20 41 77 65 73 6f 6d | 65 50 6c 61 79 0d 70 6c |y Awesom|ePlay.pl|
|000013c0| 61 79 20 22 61 70 70 6c | 61 75 73 65 22 0d 43 68 |ay "appl|ause".Ch|
|000013d0| 65 63 6b 42 6f 6e 75 73 | 59 61 68 74 7a 65 65 0d |eckBonus|Yahtzee.|
|000013e0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 44 6f 4d 61 74 |end if.e|nd DoMat|
|000013f0| 68 0d 0d 6f 6e 20 54 68 | 72 65 65 4b 69 6e 64 0d |h..on Th|reeKind.|
|00001400| 47 6c 6f 62 61 6c 20 56 | 61 6c 75 65 0d 67 6c 6f |Global V|alue.glo|
|00001410| 62 61 6c 20 62 61 64 70 | 6c 61 79 0d 67 6c 6f 62 |bal badp|lay.glob|
|00001420| 61 6c 20 61 77 65 73 6f | 6d 65 70 6c 61 79 0d 70 |al aweso|meplay.p|
|00001430| 75 74 20 22 66 61 6c 73 | 65 22 20 69 6e 74 6f 20 |ut "fals|e" into |
|00001440| 4d 41 54 43 48 0d 69 66 | 20 6c 69 6e 65 20 31 20 |MATCH.if| line 1 |
|00001450| 6f 66 20 62 67 20 66 69 | 65 6c 64 20 22 64 69 63 |of bg fi|eld "dic|
|00001460| 65 22 20 3d 20 6c 69 6e | 65 20 33 20 6f 66 20 62 |e" = lin|e 3 of b|
|00001470| 67 20 66 69 65 6c 64 20 | 22 64 69 63 65 22 0d 74 |g field |"dice".t|
|00001480| 68 65 6e 20 70 75 74 20 | 22 74 72 75 65 22 20 69 |hen put |"true" i|
|00001490| 6e 74 6f 20 4d 41 54 43 | 48 0d 69 66 20 6c 69 6e |nto MATC|H.if lin|
|000014a0| 65 20 32 20 6f 66 20 62 | 67 20 66 69 65 6c 64 20 |e 2 of b|g field |
|000014b0| 22 64 69 63 65 22 20 3d | 20 6c 69 6e 65 20 34 20 |"dice" =| line 4 |
|000014c0| 6f 66 20 62 67 20 66 69 | 65 6c 64 20 22 64 69 63 |of bg fi|eld "dic|
|000014d0| 65 22 0d 74 68 65 6e 20 | 70 75 74 20 22 74 72 75 |e".then |put "tru|
|000014e0| 65 22 20 69 6e 74 6f 20 | 4d 41 54 43 48 0d 69 66 |e" into |MATCH.if|
|000014f0| 20 6c 69 6e 65 20 33 20 | 6f 66 20 62 67 20 66 69 | line 3 |of bg fi|
|00001500| 65 6c 64 20 22 64 69 63 | 65 22 20 3d 20 6c 69 6e |eld "dic|e" = lin|
|00001510| 65 20 35 20 6f 66 20 62 | 67 20 66 69 65 6c 64 20 |e 5 of b|g field |
|00001520| 22 64 69 63 65 22 0d 74 | 68 65 6e 20 70 75 74 20 |"dice".t|hen put |
|00001530| 22 74 72 75 65 22 20 69 | 6e 74 6f 20 4d 41 54 43 |"true" i|nto MATC|
|00001540| 48 0d 69 66 20 4d 41 54 | 43 48 20 3d 20 22 74 72 |H.if MAT|CH = "tr|
|00001550| 75 65 22 0d 74 68 65 6e | 0d 72 65 70 65 61 74 20 |ue".then|.repeat |
|00001560| 77 69 74 68 20 78 20 3d | 20 31 20 74 6f 20 35 0d |with x =| 1 to 5.|
|00001570| 70 75 74 20 56 41 4c 55 | 45 20 2b 20 6c 69 6e 65 |put VALU|E + line|
|00001580| 20 78 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 | x of bg| field "|
|00001590| 64 69 63 65 22 20 69 6e | 74 6f 20 56 41 4c 55 45 |dice" in|to VALUE|
|000015a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000015b0| 69 66 0d 69 66 20 76 61 | 6c 75 65 20 3c 20 32 30 |if.if va|lue < 20|
|000015c0| 0d 74 68 65 6e 0d 70 6c | 61 79 20 62 61 64 70 6c |.then.pl|ay badpl|
|000015d0| 61 79 0d 70 6c 61 79 20 | 22 41 77 77 77 22 0d 65 |ay.play |"Awww".e|
|000015e0| 6c 73 65 20 69 66 20 76 | 61 6c 75 65 20 3c 20 32 |lse if v|alue < 2|
|000015f0| 35 20 74 68 65 6e 20 70 | 6c 61 79 20 22 61 70 70 |5 then p|lay "app|
|00001600| 6c 61 75 73 65 32 22 0d | 65 6c 73 65 0d 70 6c 61 |lause2".|else.pla|
|00001610| 79 20 61 77 65 73 6f 6d | 65 70 6c 61 79 0d 70 6c |y awesom|eplay.pl|
|00001620| 61 79 20 22 41 70 70 6c | 61 75 73 65 22 0d 65 6e |ay "Appl|ause".en|
|00001630| 64 20 69 66 0d 43 68 65 | 63 6b 42 6f 6e 75 73 59 |d if.Che|ckBonusY|
|00001640| 61 68 74 7a 65 65 0d 65 | 6e 64 20 54 68 72 65 65 |ahtzee.e|nd Three|
|00001650| 4b 69 6e 64 0d 0d 6f 6e | 20 46 6f 75 72 4b 69 6e |Kind..on| FourKin|
|00001660| 64 0d 47 6c 6f 62 61 6c | 20 56 61 6c 75 65 0d 67 |d.Global| Value.g|
|00001670| 6c 6f 62 61 6c 20 62 61 | 64 70 6c 61 79 0d 67 6c |lobal ba|dplay.gl|
|00001680| 6f 62 61 6c 20 61 77 65 | 73 6f 6d 65 70 6c 61 79 |obal awe|someplay|
|00001690| 0d 70 75 74 20 22 66 61 | 6c 73 65 22 20 69 6e 74 |.put "fa|lse" int|
|000016a0| 6f 20 4d 41 54 43 48 0d | 69 66 20 6c 69 6e 65 20 |o MATCH.|if line |
|000016b0| 31 20 6f 66 20 62 67 20 | 66 69 65 6c 64 20 22 64 |1 of bg |field "d|
|000016c0| 69 63 65 22 20 3d 20 6c | 69 6e 65 20 34 20 6f 66 |ice" = l|ine 4 of|
|000016d0| 20 62 67 20 66 69 65 6c | 64 20 22 64 69 63 65 22 | bg fiel|d "dice"|
|000016e0| 0d 74 68 65 6e 20 70 75 | 74 20 22 74 72 75 65 22 |.then pu|t "true"|
|000016f0| 20 69 6e 74 6f 20 4d 41 | 54 43 48 0d 69 66 20 6c | into MA|TCH.if l|
|00001700| 69 6e 65 20 32 20 6f 66 | 20 62 67 20 66 69 65 6c |ine 2 of| bg fiel|
|00001710| 64 20 22 64 69 63 65 22 | 20 3d 20 6c 69 6e 65 20 |d "dice"| = line |
|00001720| 35 20 6f 66 20 62 67 20 | 66 69 65 6c 64 20 22 64 |5 of bg |field "d|
|00001730| 69 63 65 22 0d 74 68 65 | 6e 20 70 75 74 20 22 74 |ice".the|n put "t|
|00001740| 72 75 65 22 20 69 6e 74 | 6f 20 4d 41 54 43 48 0d |rue" int|o MATCH.|
|00001750| 69 66 20 4d 41 54 43 48 | 20 3d 20 22 74 72 75 65 |if MATCH| = "true|
|00001760| 22 0d 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |".then.r|epeat wi|
|00001770| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 35 0d 70 75 |th x = 1| to 5.pu|
|00001780| 74 20 56 41 4c 55 45 20 | 2b 20 6c 69 6e 65 20 78 |t VALUE |+ line x|
|00001790| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 22 64 69 | of bg f|ield "di|
|000017a0| 63 65 22 20 69 6e 74 6f | 20 56 41 4c 55 45 0d 65 |ce" into| VALUE.e|
|000017b0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|000017c0| 0d 69 66 20 76 61 6c 75 | 65 20 3c 20 32 30 0d 74 |.if valu|e < 20.t|
|000017d0| 68 65 6e 0d 70 6c 61 79 | 20 62 61 64 70 6c 61 79 |hen.play| badplay|
|000017e0| 0d 70 6c 61 79 20 22 41 | 77 77 77 22 0d 65 6c 73 |.play "A|www".els|
|000017f0| 65 20 69 66 20 76 61 6c | 75 65 20 3c 20 32 37 20 |e if val|ue < 27 |
|00001800| 74 68 65 6e 20 70 6c 61 | 79 20 22 61 70 70 6c 61 |then pla|y "appla|
|00001810| 75 73 65 32 22 0d 65 6c | 73 65 0d 70 6c 61 79 20 |use2".el|se.play |
|00001820| 61 77 65 73 6f 6d 65 70 | 6c 61 79 0d 70 6c 61 79 |awesomep|lay.play|
|00001830| 20 22 41 70 70 6c 61 75 | 73 65 22 0d 65 6e 64 20 | "Applau|se".end |
|00001840| 69 66 0d 43 68 65 63 6b | 42 6f 6e 75 73 59 61 68 |if.Check|BonusYah|
|00001850| 74 7a 65 65 0d 65 6e 64 | 20 46 6f 75 72 4b 69 6e |tzee.end| FourKin|
|00001860| 64 0d 0d 6f 6e 20 46 75 | 6c 6c 48 6f 75 73 65 0d |d..on Fu|llHouse.|
|00001870| 47 6c 6f 62 61 6c 20 56 | 61 6c 75 65 0d 67 6c 6f |Global V|alue.glo|
|00001880| 62 61 6c 20 62 61 64 70 | 6c 61 79 0d 67 6c 6f 62 |bal badp|lay.glob|
|00001890| 61 6c 20 61 77 65 73 6f | 6d 65 70 6c 61 79 0d 70 |al aweso|meplay.p|
|000018a0| 75 74 20 22 66 61 6c 73 | 65 22 20 69 6e 74 6f 20 |ut "fals|e" into |
|000018b0| 4d 41 54 43 48 0d 69 66 | 20 6c 69 6e 65 20 31 20 |MATCH.if| line 1 |
|000018c0| 6f 66 20 62 67 20 66 69 | 65 6c 64 20 22 64 69 63 |of bg fi|eld "dic|
|000018d0| 65 22 20 3d 20 6c 69 6e | 65 20 32 20 6f 66 20 62 |e" = lin|e 2 of b|
|000018e0| 67 20 66 69 65 6c 64 20 | 22 64 69 63 65 22 20 41 |g field |"dice" A|
|000018f0| 4e 44 c2 0d 6c 69 6e 65 | 20 33 20 6f 66 20 62 67 |ND..line| 3 of bg|
|00001900| 20 66 69 65 6c 64 20 22 | 64 69 63 65 22 20 3d 20 | field "|dice" = |
|00001910| 6c 69 6e 65 20 35 20 6f | 66 20 62 67 20 66 69 65 |line 5 o|f bg fie|
|00001920| 6c 64 20 22 64 69 63 65 | 22 20 41 4e 44 c2 0d 6c |ld "dice|" AND..l|
|00001930| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 69 65 6c |ine 1 of| bg fiel|
|00001940| 64 20 22 64 69 63 65 22 | 20 3c 3e 20 6c 69 6e 65 |d "dice"| <> line|
|00001950| 20 35 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 | 5 of bg| field "|
|00001960| 64 69 63 65 22 0d 74 68 | 65 6e 20 70 75 74 20 22 |dice".th|en put "|
|00001970| 74 72 75 65 22 20 69 6e | 74 6f 20 4d 41 54 43 48 |true" in|to MATCH|
|00001980| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 62 67 |.if line| 1 of bg|
|00001990| 20 66 69 65 6c 64 20 22 | 64 69 63 65 22 20 3d 20 | field "|dice" = |
|000019a0| 6c 69 6e 65 20 33 20 6f | 66 20 62 67 20 66 69 65 |line 3 o|f bg fie|
|000019b0| 6c 64 20 22 64 69 63 65 | 22 20 41 4e 44 c2 0d 6c |ld "dice|" AND..l|
|000019c0| 69 6e 65 20 34 20 6f 66 | 20 62 67 20 66 69 65 6c |ine 4 of| bg fiel|
|000019d0| 64 20 22 64 69 63 65 22 | 20 3d 20 6c 69 6e 65 20 |d "dice"| = line |
|000019e0| 35 20 6f 66 20 62 67 20 | 66 69 65 6c 64 20 22 64 |5 of bg |field "d|
|000019f0| 69 63 65 22 20 61 6e 64 | c2 0d 6c 69 6e 65 20 31 |ice" and|..line 1|
|00001a00| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 22 64 69 | of bg f|ield "di|
|00001a10| 63 65 22 20 3c 3e 20 6c | 69 6e 65 20 35 20 6f 66 |ce" <> l|ine 5 of|
|00001a20| 20 62 67 20 66 69 65 6c | 64 20 22 64 69 63 65 22 | bg fiel|d "dice"|
|00001a30| 0d 74 68 65 6e 20 70 75 | 74 20 22 74 72 75 65 22 |.then pu|t "true"|
|00001a40| 20 69 6e 74 6f 20 4d 41 | 54 43 48 0d 69 66 20 4d | into MA|TCH.if M|
|00001a50| 41 54 43 48 20 3d 20 22 | 74 72 75 65 22 0d 74 68 |ATCH = "|true".th|
|00001a60| 65 6e 0d 70 6c 61 79 20 | 61 77 65 73 6f 6d 65 70 |en.play |awesomep|
|00001a70| 6c 61 79 0d 70 6c 61 79 | 20 22 41 70 70 6c 61 75 |lay.play| "Applau|
|00001a80| 73 65 22 0d 70 75 74 20 | 32 35 20 69 6e 74 6f 20 |se".put |25 into |
|00001a90| 56 41 4c 55 45 0d 65 6c | 73 65 0d 70 6c 61 79 20 |VALUE.el|se.play |
|00001aa0| 62 61 64 50 6c 61 79 0d | 70 6c 61 79 20 22 41 77 |badPlay.|play "Aw|
|00001ab0| 77 77 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 46 |ww".end |if.end F|
|00001ac0| 75 6c 6c 48 6f 75 73 65 | 0d 0d 6f 6e 20 53 6d 61 |ullHouse|..on Sma|
|00001ad0| 6c 6c 53 74 72 61 69 67 | 68 74 0d 47 6c 6f 62 61 |llStraig|ht.Globa|
|00001ae0| 6c 20 56 61 6c 75 65 0d | 67 6c 6f 62 61 6c 20 62 |l Value.|global b|
|00001af0| 61 64 70 6c 61 79 0d 67 | 6c 6f 62 61 6c 20 61 77 |adplay.g|lobal aw|
|00001b00| 65 73 6f 6d 65 70 6c 61 | 79 0d 70 75 74 20 22 66 |esomepla|y.put "f|
|00001b10| 61 6c 73 65 22 20 69 6e | 74 6f 20 4d 41 54 43 48 |alse" in|to MATCH|
|00001b20| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 43 6f 75 6e |.put 0 i|nto Coun|
|00001b30| 74 41 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 43 6f |tA.put 0| into Co|
|00001b40| 75 6e 74 42 0d 72 65 70 | 65 61 74 20 77 69 74 68 |untB.rep|eat with|
|00001b50| 20 78 20 3d 20 31 20 74 | 6f 20 34 0d 69 66 20 6c | x = 1 t|o 4.if l|
|00001b60| 69 6e 65 20 78 20 6f 66 | 20 62 67 20 66 69 65 6c |ine x of| bg fiel|
|00001b70| 64 20 22 64 69 63 65 22 | 20 3d 20 28 6c 69 6e 65 |d "dice"| = (line|
|00001b80| 20 78 2b 31 20 6f 66 20 | 62 67 20 66 69 65 6c 64 | x+1 of |bg field|
|00001b90| 20 22 64 69 63 65 22 29 | 2d 31 0d 74 68 65 6e 20 | "dice")|-1.then |
|00001ba0| 70 75 74 20 63 6f 75 6e | 74 41 2b 31 20 69 6e 74 |put coun|tA+1 int|
|00001bb0| 6f 20 43 6f 75 6e 74 41 | 0d 65 6c 73 65 20 69 66 |o CountA|.else if|
|00001bc0| 20 6c 69 6e 65 20 78 20 | 6f 66 20 62 67 20 66 69 | line x |of bg fi|
|00001bd0| 65 6c 64 20 22 64 69 63 | 65 22 20 3d 20 28 6c 69 |eld "dic|e" = (li|
|00001be0| 6e 65 20 78 2b 31 20 6f | 66 20 62 67 20 66 69 65 |ne x+1 o|f bg fie|
|00001bf0| 6c 64 20 22 64 69 63 65 | 22 29 2d 32 c2 0d 41 4e |ld "dice|")-2..AN|
|00001c00| 44 20 43 6f 75 6e 74 41 | 20 3c 20 33 0d 74 68 65 |D CountA| < 3.the|
|00001c10| 6e 20 70 75 74 20 30 20 | 69 6e 74 6f 20 43 6f 75 |n put 0 |into Cou|
|00001c20| 6e 74 41 0d 69 66 20 6c | 69 6e 65 20 78 20 6f 66 |ntA.if l|ine x of|
|00001c30| 20 62 67 20 66 69 65 6c | 64 20 22 64 69 63 65 22 | bg fiel|d "dice"|
|00001c40| 20 3d 20 6c 69 6e 65 20 | 78 2b 31 20 6f 66 20 62 | = line |x+1 of b|
|00001c50| 67 20 66 69 65 6c 64 20 | 22 64 69 63 65 22 0d 74 |g field |"dice".t|
|00001c60| 68 65 6e 20 70 75 74 20 | 63 6f 75 6e 74 42 2b 31 |hen put |countB+1|
|00001c70| 20 69 6e 74 6f 20 43 6f | 75 6e 74 42 0d 65 6e 64 | into Co|untB.end|
|00001c80| 20 72 65 70 65 61 74 0d | 69 66 20 63 6f 75 6e 74 | repeat.|if count|
|00001c90| 41 20 3e 3d 20 33 20 41 | 4e 44 20 43 6f 75 6e 74 |A >= 3 A|ND Count|
|00001ca0| 42 20 3c 3d 20 31 20 74 | 68 65 6e 20 70 75 74 20 |B <= 1 t|hen put |
|00001cb0| 22 74 72 75 65 22 20 69 | 6e 74 6f 20 4d 41 54 43 |"true" i|nto MATC|
|00001cc0| 48 0d 69 66 20 4d 41 54 | 43 48 20 3d 20 22 74 72 |H.if MAT|CH = "tr|
|00001cd0| 75 65 22 0d 74 68 65 6e | 0d 70 6c 61 79 20 61 77 |ue".then|.play aw|
|00001ce0| 65 73 6f 6d 65 70 6c 61 | 79 0d 50 6c 61 79 20 20 |esomepla|y.Play |
|00001cf0| 22 41 70 70 6c 61 75 73 | 65 22 0d 70 75 74 20 33 |"Applaus|e".put 3|
|00001d00| 30 20 69 6e 74 6f 20 56 | 41 4c 55 45 0d 65 6c 73 |0 into V|ALUE.els|
|00001d10| 65 0d 70 6c 61 79 20 62 | 61 64 50 6c 61 79 0d 70 |e.play b|adPlay.p|
|00001d20| 6c 61 79 20 22 41 77 77 | 77 22 0d 65 6e 64 20 69 |lay "Aww|w".end i|
|00001d30| 66 0d 65 6e 64 20 53 6d | 61 6c 6c 53 74 72 61 69 |f.end Sm|allStrai|
|00001d40| 67 68 74 0d 0d 6f 6e 20 | 4c 61 72 67 65 53 74 72 |ght..on |LargeStr|
|00001d50| 61 69 67 68 74 0d 67 6c | 6f 62 61 6c 20 62 61 64 |aight.gl|obal bad|
|00001d60| 70 6c 61 79 0d 67 6c 6f | 62 61 6c 20 61 77 65 73 |play.glo|bal awes|
|00001d70| 6f 6d 65 70 6c 61 79 0d | 47 6c 6f 62 61 6c 20 56 |omeplay.|Global V|
|00001d80| 61 6c 75 65 0d 70 75 74 | 20 22 66 61 6c 73 65 22 |alue.put| "false"|
|00001d90| 20 69 6e 74 6f 20 4d 41 | 54 43 48 0d 69 66 20 6c | into MA|TCH.if l|
|00001da0| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 69 65 6c |ine 1 of| bg fiel|
|00001db0| 64 20 22 64 69 63 65 22 | 20 3d 20 28 6c 69 6e 65 |d "dice"| = (line|
|00001dc0| 20 32 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 | 2 of bg| field "|
|00001dd0| 64 69 63 65 22 29 2d 31 | 20 41 4e 44 c2 0d 6c 69 |dice")-1| AND..li|
|00001de0| 6e 65 20 32 20 6f 66 20 | 62 67 20 66 69 65 6c 64 |ne 2 of |bg field|
|00001df0| 20 22 64 69 63 65 22 20 | 3d 20 28 6c 69 6e 65 20 | "dice" |= (line |
|00001e00| 33 20 6f 66 20 62 67 20 | 66 69 65 6c 64 20 22 64 |3 of bg |field "d|
|00001e10| 69 63 65 22 29 2d 31 20 | 41 4e 44 c2 0d 6c 69 6e |ice")-1 |AND..lin|
|00001e20| 65 20 33 20 6f 66 20 62 | 67 20 66 69 65 6c 64 20 |e 3 of b|g field |
|00001e30| 22 64 69 63 65 22 20 3d | 20 28 6c 69 6e 65 20 34 |"dice" =| (line 4|
|00001e40| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 22 64 69 | of bg f|ield "di|
|00001e50| 63 65 22 29 2d 31 20 41 | 4e 44 c2 0d 6c 69 6e 65 |ce")-1 A|ND..line|
|00001e60| 20 34 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 | 4 of bg| field "|
|00001e70| 64 69 63 65 22 20 3d 20 | 28 6c 69 6e 65 20 35 20 |dice" = |(line 5 |
|00001e80| 6f 66 20 62 67 20 66 69 | 65 6c 64 20 22 64 69 63 |of bg fi|eld "dic|
|00001e90| 65 22 29 2d 31 0d 74 68 | 65 6e 20 70 75 74 20 22 |e")-1.th|en put "|
|00001ea0| 74 72 75 65 22 20 69 6e | 74 6f 20 4d 41 54 43 48 |true" in|to MATCH|
|00001eb0| 0d 69 66 20 4d 41 54 43 | 48 20 3d 20 22 74 72 75 |.if MATC|H = "tru|
|00001ec0| 65 22 0d 74 68 65 6e 0d | 70 6c 61 79 20 61 77 65 |e".then.|play awe|
|00001ed0| 73 6f 6d 65 70 6c 61 79 | 0d 70 6c 61 79 20 22 41 |someplay|.play "A|
|00001ee0| 70 70 6c 61 75 73 65 22 | 0d 70 75 74 20 34 30 20 |pplause"|.put 40 |
|00001ef0| 69 6e 74 6f 20 56 41 4c | 55 45 0d 65 6c 73 65 0d |into VAL|UE.else.|
|00001f00| 70 6c 61 79 20 62 61 64 | 70 6c 61 79 0d 70 6c 61 |play bad|play.pla|
|00001f10| 79 20 22 41 77 77 77 22 | 0d 65 6e 64 20 69 66 0d |y "Awww"|.end if.|
|00001f20| 65 6e 64 20 4c 61 72 67 | 65 53 74 72 61 69 67 68 |end Larg|eStraigh|
|00001f30| 74 0d 0d 6f 6e 20 59 41 | 48 54 5a 45 45 0d 47 6c |t..on YA|HTZEE.Gl|
|00001f40| 6f 62 61 6c 20 56 61 6c | 75 65 0d 67 6c 6f 62 61 |obal Val|ue.globa|
|00001f50| 6c 20 62 61 64 70 6c 61 | 79 0d 67 6c 6f 62 61 6c |l badpla|y.global|
|00001f60| 20 61 77 65 73 6f 6d 65 | 70 6c 61 79 0d 70 75 74 | awesome|play.put|
|00001f70| 20 22 66 61 6c 73 65 22 | 20 69 6e 74 6f 20 4d 41 | "false"| into MA|
|00001f80| 54 43 48 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |TCH.if l|ine 1 of|
|00001f90| 20 62 67 20 66 69 65 6c | 64 20 22 64 69 63 65 22 | bg fiel|d "dice"|
|00001fa0| 20 3d 20 6c 69 6e 65 20 | 35 20 6f 66 20 62 67 20 | = line |5 of bg |
|00001fb0| 66 69 65 6c 64 20 22 64 | 69 63 65 22 0d 74 68 65 |field "d|ice".the|
|00001fc0| 6e 20 70 75 74 20 22 74 | 72 75 65 22 20 69 6e 74 |n put "t|rue" int|
|00001fd0| 6f 20 4d 41 54 43 48 0d | 69 66 20 4d 41 54 43 48 |o MATCH.|if MATCH|
|00001fe0| 20 3d 20 22 74 72 75 65 | 22 0d 74 68 65 6e 0d 70 | = "true|".then.p|
|00001ff0| 75 74 20 35 30 20 69 6e | 74 6f 20 56 41 4c 55 45 |ut 50 in|to VALUE|
|00002000| 0d 70 6c 61 79 20 61 77 | 65 73 6f 6d 65 50 6c 61 |.play aw|esomePla|
|00002010| 79 0d 70 6c 61 79 20 22 | 79 61 68 74 7a 65 65 22 |y.play "|yahtzee"|
|00002020| 0d 70 6c 61 79 20 22 41 | 70 70 6c 61 75 73 65 22 |.play "A|pplause"|
|00002030| 0d 65 6c 73 65 0d 70 6c | 61 79 20 62 61 64 50 6c |.else.pl|ay badPl|
|00002040| 61 79 0d 70 6c 61 79 20 | 22 41 77 77 77 22 0d 65 |ay.play |"Awww".e|
|00002050| 6e 64 20 69 66 0d 65 6e | 64 20 59 61 68 74 7a 65 |nd if.en|d Yahtze|
|00002060| 65 0d 0d 6f 6e 20 43 68 | 65 63 6b 42 6f 6e 75 73 |e..on Ch|eckBonus|
|00002070| 59 61 68 74 7a 65 65 0d | 67 6c 6f 62 61 6c 20 61 |Yahtzee.|global a|
|00002080| 77 65 73 6f 6d 65 70 6c | 61 79 0d 47 6c 6f 62 61 |wesomepl|ay.Globa|
|00002090| 6c 20 42 6f 6e 75 73 59 | 61 68 74 7a 65 65 0d 47 |l BonusY|ahtzee.G|
|000020a0| 6c 6f 62 61 6c 20 50 6c | 61 79 65 72 4e 6f 0d 69 |lobal Pl|ayerNo.i|
|000020b0| 66 20 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 |f line 1| of bg f|
|000020c0| 69 65 6c 64 20 22 64 69 | 63 65 22 20 3d 20 6c 69 |ield "di|ce" = li|
|000020d0| 6e 65 20 35 20 6f 66 20 | 62 67 20 66 69 65 6c 64 |ne 5 of |bg field|
|000020e0| 20 22 64 69 63 65 22 0d | 74 68 65 6e 20 70 75 74 | "dice".|then put|
|000020f0| 20 22 74 72 75 65 22 20 | 69 6e 74 6f 20 4d 41 54 | "true" |into MAT|
|00002100| 43 48 0d 45 6c 73 65 20 | 65 78 69 74 20 43 68 65 |CH.Else |exit Che|
|00002110| 63 6b 42 6f 6e 75 73 59 | 61 68 74 7a 65 65 0d 2d |ckBonusY|ahtzee.-|
|00002120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 70 75 74 20 22 |--------|--.put "|
|00002130| 42 6f 74 74 6f 6d 20 53 | 65 63 74 69 6f 6e 22 20 |Bottom S|ection" |
|00002140| 26 26 20 50 6c 61 79 65 | 72 4e 6f 20 26 20 22 41 |&& Playe|rNo & "A|
|00002150| 22 20 69 6e 74 6f 20 46 | 69 65 6c 64 4e 61 6d 65 |" into F|ieldName|
|00002160| 0d 69 66 20 6c 69 6e 65 | 20 36 20 6f 66 20 62 67 |.if line| 6 of bg|
|00002170| 20 66 69 65 6c 64 20 46 | 69 65 6c 64 4e 61 6d 65 | field F|ieldName|
|00002180| 20 3d 20 22 22 20 4f 52 | c2 0d 6c 69 6e 65 20 36 | = "" OR|..line 6|
|00002190| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 46 69 65 | of bg f|ield Fie|
|000021a0| 6c 64 4e 61 6d 65 20 3d | 20 30 20 74 68 65 6e 20 |ldName =| 0 then |
|000021b0| 65 78 69 74 20 43 68 65 | 63 6b 42 6f 6e 75 73 59 |exit Che|ckBonusY|
|000021c0| 61 68 74 7a 65 65 0d 70 | 75 74 20 22 42 6f 74 74 |ahtzee.p|ut "Bott|
|000021d0| 6f 6d 20 53 65 63 74 69 | 6f 6e 22 20 26 26 20 50 |om Secti|on" && P|
|000021e0| 6c 61 79 65 72 4e 6f 20 | 26 20 22 42 22 20 69 6e |layerNo |& "B" in|
|000021f0| 74 6f 20 46 69 65 6c 64 | 4e 61 6d 65 0d 69 66 20 |to Field|Name.if |
|00002200| 76 69 73 69 62 6c 65 20 | 6f 66 20 62 67 20 66 69 |visible |of bg fi|
|00002210| 65 6c 64 20 46 69 65 6c | 64 4e 61 6d 65 20 3d 20 |eld Fiel|dName = |
|00002220| 22 74 72 75 65 22 0d 74 | 68 65 6e 0d 69 66 20 6c |"true".t|hen.if l|
|00002230| 69 6e 65 20 36 20 6f 66 | 20 62 67 20 66 69 65 6c |ine 6 of| bg fiel|
|00002240| 64 20 46 69 65 6c 64 4e | 61 6d 65 20 3d 20 22 22 |d FieldN|ame = ""|
|00002250| 20 4f 52 c2 0d 6c 69 6e | 65 20 36 20 6f 66 20 62 | OR..lin|e 6 of b|
|00002260| 67 20 66 69 65 6c 64 20 | 46 69 65 6c 64 4e 61 6d |g field |FieldNam|
|00002270| 65 20 3d 20 30 20 74 68 | 65 6e 20 65 78 69 74 20 |e = 0 th|en exit |
|00002280| 43 68 65 63 6b 42 6f 6e | 75 73 59 61 68 74 7a 65 |CheckBon|usYahtze|
|00002290| 65 0d 70 75 74 20 22 42 | 6f 74 74 6f 6d 20 53 65 |e.put "B|ottom Se|
|000022a0| 63 74 69 6f 6e 22 20 26 | 26 20 50 6c 61 79 65 72 |ction" &|& Player|
|000022b0| 4e 6f 20 26 20 22 43 22 | 20 69 6e 74 6f 20 46 69 |No & "C"| into Fi|
|000022c0| 65 6c 64 4e 61 6d 65 0d | 69 66 20 76 69 73 69 62 |eldName.|if visib|
|000022d0| 6c 65 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 46 |le of bg| field F|
|000022e0| 69 65 6c 64 4e 61 6d 65 | 20 3d 20 22 74 72 75 65 |ieldName| = "true|
|000022f0| 22 0d 74 68 65 6e 0d 69 | 66 20 6c 69 6e 65 20 36 |".then.i|f line 6|
|00002300| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 46 69 65 | of bg f|ield Fie|
|00002310| 6c 64 4e 61 6d 65 20 3d | 20 22 22 20 4f 52 c2 0d |ldName =| "" OR..|
|00002320| 6c 69 6e 65 20 36 20 6f | 66 20 62 67 20 66 69 65 |line 6 o|f bg fie|
|00002330| 6c 64 20 46 69 65 6c 64 | 4e 61 6d 65 20 3d 20 30 |ld Field|Name = 0|
|00002340| 20 74 68 65 6e 20 65 78 | 69 74 20 43 68 65 63 6b | then ex|it Check|
|00002350| 42 6f 6e 75 73 59 61 68 | 74 7a 65 65 0d 65 6e 64 |BonusYah|tzee.end|
|00002360| 20 69 66 0d 65 6e 64 20 | 69 66 0d 2d 2d 2d 2d 2d | if.end |if.-----|
|00002370| 2d 2d 2d 2d 2d 2d 2d 0d | 70 6c 61 79 20 22 79 61 |-------.|play "ya|
|00002380| 68 74 7a 65 65 22 0d 70 | 6c 61 79 20 22 62 6f 6e |htzee".p|lay "bon|
|00002390| 75 73 22 0d 70 6c 61 79 | 20 22 41 70 70 6c 61 75 |us".play| "Applau|
|000023a0| 73 65 22 0d 70 75 74 20 | 6c 61 73 74 20 77 6f 72 |se".put |last wor|
|000023b0| 64 20 6f 66 20 74 68 65 | 20 63 6c 69 63 6b 6c 69 |d of the| clickli|
|000023c0| 6e 65 20 69 6e 74 6f 20 | 54 45 4d 50 0d 70 75 74 |ne into |TEMP.put|
|000023d0| 20 74 68 65 20 6c 61 73 | 74 20 77 6f 72 64 20 6f | the las|t word o|
|000023e0| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|000023f0| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 54 45 4d | of bg f|ield TEM|
|00002400| 50 20 69 6e 74 6f 20 54 | 45 4d 50 32 0d 70 75 74 |P into T|EMP2.put|
|00002410| 20 22 42 6f 74 74 6f 6d | 20 54 6f 74 61 6c 73 22 | "Bottom| Totals"|
|00002420| 20 26 26 20 54 65 6d 70 | 32 20 69 6e 74 6f 20 46 | && Temp|2 into F|
|00002430| 69 65 6c 64 4e 61 6d 65 | 0d 69 66 20 63 68 61 72 |ieldName|.if char|
|00002440| 20 32 20 6f 66 20 54 65 | 6d 70 32 20 3d 20 22 41 | 2 of Te|mp2 = "A|
|00002450| 22 0d 74 68 65 6e 0d 70 | 75 74 20 31 30 30 20 2b |".then.p|ut 100 +|
|00002460| 20 28 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 | (line 1| of bg f|
|00002470| 69 65 6c 64 20 46 69 65 | 6c 64 4e 61 6d 65 29 20 |ield Fie|ldName) |
|00002480| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 62 |into lin|e 1 of b|
|00002490| 67 20 66 69 65 6c 64 20 | 46 69 65 6c 64 4e 61 6d |g field |FieldNam|
|000024a0| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 63 68 61 72 |e.end if|.if char|
|000024b0| 20 32 20 6f 66 20 54 65 | 6d 70 32 20 3d 20 22 42 | 2 of Te|mp2 = "B|
|000024c0| 22 0d 74 68 65 6e 0d 70 | 75 74 20 32 30 30 20 2b |".then.p|ut 200 +|
|000024d0| 20 28 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 | (line 1| of bg f|
|000024e0| 69 65 6c 64 20 46 69 65 | 6c 64 4e 61 6d 65 29 20 |ield Fie|ldName) |
|000024f0| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 62 |into lin|e 1 of b|
|00002500| 67 20 66 69 65 6c 64 20 | 46 69 65 6c 64 4e 61 6d |g field |FieldNam|
|00002510| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 63 68 61 72 |e.end if|.if char|
|00002520| 20 32 20 6f 66 20 54 65 | 6d 70 32 20 3d 20 22 43 | 2 of Te|mp2 = "C|
|00002530| 22 0d 74 68 65 6e 0d 70 | 75 74 20 33 30 30 20 2b |".then.p|ut 300 +|
|00002540| 20 28 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 | (line 1| of bg f|
|00002550| 69 65 6c 64 20 46 69 65 | 6c 64 4e 61 6d 65 29 20 |ield Fie|ldName) |
|00002560| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 62 |into lin|e 1 of b|
|00002570| 67 20 66 69 65 6c 64 20 | 46 69 65 6c 64 4e 61 6d |g field |FieldNam|
|00002580| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 43 68 65 |e.end if|.end Che|
|00002590| 63 6b 42 6f 6e 75 73 59 | 61 68 74 7a 65 65 0d 0d |ckBonusY|ahtzee..|
|000025a0| 6f 6e 20 63 68 61 6e 63 | 65 0d 47 6c 6f 62 61 6c |on chanc|e.Global|
|000025b0| 20 56 61 6c 75 65 0d 72 | 65 70 65 61 74 20 77 69 | Value.r|epeat wi|
|000025c0| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 35 0d 70 75 |th x = 1| to 5.pu|
|000025d0| 74 20 56 41 4c 55 45 20 | 2b 20 6c 69 6e 65 20 78 |t VALUE |+ line x|
|000025e0| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 22 64 69 | of bg f|ield "di|
|000025f0| 63 65 22 20 69 6e 74 6f | 20 56 41 4c 55 45 0d 65 |ce" into| VALUE.e|
|00002600| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 76 61 6c |nd repea|t.if val|
|00002610| 75 65 20 3c 20 31 38 20 | 74 68 65 6e 20 70 6c 61 |ue < 18 |then pla|
|00002620| 79 20 62 61 64 50 6c 61 | 79 0d 65 6c 73 65 20 70 |y badPla|y.else p|
|00002630| 6c 61 79 20 22 61 70 70 | 6c 61 75 73 65 32 22 0d |lay "app|lause2".|
|00002640| 43 68 65 63 6b 42 6f 6e | 75 73 59 61 68 74 7a 65 |CheckBon|usYahtze|
|00002650| 65 0d 65 6e 64 20 63 68 | 61 6e 63 65 0d 0d 6f 6e |e.end ch|ance..on|
|00002660| 20 41 75 74 6f 6d 61 74 | 69 63 4d 65 73 73 61 67 | Automat|icMessag|
|00002670| 65 0d 70 6c 61 79 20 22 | 62 75 7a 7a 65 72 22 0d |e.play "|buzzer".|
|00002680| 70 6c 61 79 20 22 48 75 | 6d 61 6e 20 65 72 72 6f |play "Hu|man erro|
|00002690| 72 22 0d 41 6e 73 77 65 | 72 20 22 20 54 68 69 73 |r".Answe|r " This|
|000026a0| 20 73 70 61 63 65 20 63 | 61 6c 63 75 6c 61 74 65 | space c|alculate|
|000026b0| 73 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 2e |s automa|tically.|
|000026c0| 20 20 59 6f 75 20 6e 65 | 65 64 20 74 6f 20 63 68 | You ne|ed to ch|
|000026d0| 6f 6f 73 65 22 20 26 26 | c2 0d 22 64 69 66 66 65 |oose" &&|.."diffe|
|000026e0| 72 65 6e 74 20 73 70 61 | 63 65 2e 22 20 77 69 74 |rent spa|ce." wit|
|000026f0| 68 20 22 6f 6b 22 0d 65 | 6e 64 20 41 75 74 6f 6d |h "ok".e|nd Autom|
|00002700| 61 74 69 63 4d 65 73 73 | 61 67 65 0d 0d 6f 6e 20 |aticMess|age..on |
|00002710| 64 6f 6d 65 6e 75 20 78 | 0d 47 6c 6f 62 61 6c 20 |domenu x|.Global |
|00002720| 50 6c 61 79 65 72 4e 6f | 0d 47 6c 6f 62 61 6c 20 |PlayerNo|.Global |
|00002730| 4c 61 73 74 41 63 74 69 | 6f 6e 0d 47 6c 6f 62 61 |LastActi|on.Globa|
|00002740| 6c 20 4e 6f 4f 66 50 6c | 61 79 65 72 73 0d 47 6c |l NoOfPl|ayers.Gl|
|00002750| 6f 62 61 6c 20 54 75 72 | 6e 4e 6f 0d 69 66 20 78 |obal Tur|nNo.if x|
|00002760| 20 3d 20 22 75 6e 64 6f | 22 0d 74 68 65 6e 0d 70 | = "undo|".then.p|
|00002770| 6c 61 79 20 22 75 6e 64 | 6f 22 0d 2d 2d 2d 2d 2d |lay "und|o".-----|
|00002780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 69 |--------|------.i|
|00002790| 66 20 74 68 65 20 66 69 | 72 73 74 20 77 6f 72 64 |f the fi|rst word|
|000027a0| 20 6f 66 20 4c 61 73 74 | 41 63 74 69 6f 6e 20 3d | of Last|Action =|
|000027b0| 20 22 74 6f 70 22 0d 74 | 68 65 6e 0d 50 75 74 20 | "top".t|hen.Put |
|000027c0| 50 6c 61 79 65 72 4e 6f | 20 2d 20 31 20 69 6e 74 |PlayerNo| - 1 int|
|000027d0| 6f 20 50 6c 61 79 65 72 | 4e 6f 0d 69 66 20 50 6c |o Player|No.if Pl|
|000027e0| 61 79 65 72 4e 6f 20 3d | 20 30 20 74 68 65 6e 20 |ayerNo =| 0 then |
|000027f0| 70 75 74 20 4e 6f 4f 66 | 50 6c 61 79 65 72 73 20 |put NoOf|Players |
|00002800| 69 6e 74 6f 20 50 6c 61 | 79 65 72 4e 6f 0d 43 6c |into Pla|yerNo.Cl|
|00002810| 65 61 72 50 6c 61 79 65 | 72 73 0d 70 75 74 20 62 |earPlaye|rs.put b|
|00002820| 67 20 66 69 65 6c 64 20 | 4c 61 73 74 41 63 74 69 |g field |LastActi|
|00002830| 6f 6e 20 69 6e 74 6f 20 | 54 45 4d 50 0d 70 75 74 |on into |TEMP.put|
|00002840| 20 62 67 20 66 69 65 6c | 64 20 22 74 65 6d 70 22 | bg fiel|d "temp"|
|00002850| 20 69 6e 74 6f 20 62 67 | 20 66 69 65 6c 64 20 4c | into bg| field L|
|00002860| 61 73 74 41 63 74 69 6f | 6e 0d 70 75 74 20 54 45 |astActio|n.put TE|
|00002870| 4d 50 20 69 6e 74 6f 20 | 62 67 20 66 69 65 6c 64 |MP into |bg field|
|00002880| 20 22 54 45 4d 50 22 0d | 50 75 74 20 22 54 6f 70 | "TEMP".|Put "Top|
|00002890| 20 54 6f 74 61 6c 73 22 | 20 26 26 20 74 68 65 20 | Totals"| && the |
|000028a0| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 4c 61 73 |last wor|d of Las|
|000028b0| 74 41 63 74 69 6f 6e 20 | 69 6e 74 6f 20 46 69 65 |tAction |into Fie|
|000028c0| 6c 64 4e 61 6d 65 0d 73 | 65 6e 64 20 54 6f 70 54 |ldName.s|end TopT|
|000028d0| 6f 74 61 6c 20 74 6f 20 | 62 67 20 66 69 65 6c 64 |otal to |bg field|
|000028e0| 20 46 69 65 6c 64 4e 61 | 6d 65 0d 50 75 74 20 62 | FieldNa|me.Put b|
|000028f0| 67 20 66 69 65 6c 64 20 | 22 52 6f 6c 6c 23 22 20 |g field |"Roll#" |
|00002900| 69 6e 74 6f 20 54 45 4d | 50 0d 70 75 74 20 28 62 |into TEM|P.put (b|
|00002910| 67 20 66 69 65 6c 64 20 | 22 4c 61 73 74 52 6f 6c |g field |"LastRol|
|00002920| 6c 22 20 2b 31 29 20 69 | 6e 74 6f 20 62 67 20 66 |l" +1) i|nto bg f|
|00002930| 69 65 6c 64 20 22 52 6f | 6c 6c 23 22 0d 70 75 74 |ield "Ro|ll#".put|
|00002940| 20 54 45 4d 50 20 2d 31 | 20 69 6e 74 6f 20 62 67 | TEMP -1| into bg|
|00002950| 20 66 69 65 6c 64 20 22 | 4c 61 73 74 52 6f 6c 6c | field "|LastRoll|
|00002960| 22 0d 70 75 74 20 54 75 | 72 6e 4e 6f 20 2d 20 31 |".put Tu|rnNo - 1|
|00002970| 20 69 6e 74 6f 20 54 75 | 72 6e 4e 6f 0d 65 78 69 | into Tu|rnNo.exi|
|00002980| 74 20 64 6f 4d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |t doMenu|.end if.|
|00002990| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000029a0| 2d 2d 2d 2d 0d 69 66 20 | 74 68 65 20 66 69 72 73 |----.if |the firs|
|000029b0| 74 20 77 6f 72 64 20 6f | 66 20 4c 61 73 74 41 63 |t word o|f LastAc|
|000029c0| 74 69 6f 6e 20 3d 20 22 | 62 6f 74 74 6f 6d 22 0d |tion = "|bottom".|
|000029d0| 74 68 65 6e 0d 50 75 74 | 20 50 6c 61 79 65 72 4e |then.Put| PlayerN|
|000029e0| 6f 20 2d 20 31 20 69 6e | 74 6f 20 50 6c 61 79 65 |o - 1 in|to Playe|
|000029f0| 72 4e 6f 0d 69 66 20 50 | 6c 61 79 65 72 4e 6f 20 |rNo.if P|layerNo |
|00002a00| 3d 20 30 20 74 68 65 6e | 20 70 75 74 20 4e 6f 4f |= 0 then| put NoO|
|00002a10| 66 50 6c 61 79 65 72 73 | 20 69 6e 74 6f 20 50 6c |fPlayers| into Pl|
|00002a20| 61 79 65 72 4e 6f 0d 43 | 6c 65 61 72 50 6c 61 79 |ayerNo.C|learPlay|
|00002a30| 65 72 73 0d 70 75 74 20 | 62 67 20 66 69 65 6c 64 |ers.put |bg field|
|00002a40| 20 4c 61 73 74 41 63 74 | 69 6f 6e 20 69 6e 74 6f | LastAct|ion into|
|00002a50| 20 54 45 4d 50 0d 70 75 | 74 20 62 67 20 66 69 65 | TEMP.pu|t bg fie|
|00002a60| 6c 64 20 22 74 65 6d 70 | 22 20 69 6e 74 6f 20 62 |ld "temp|" into b|
|00002a70| 67 20 66 69 65 6c 64 20 | 4c 61 73 74 41 63 74 69 |g field |LastActi|
|00002a80| 6f 6e 0d 70 75 74 20 54 | 45 4d 50 20 69 6e 74 6f |on.put T|EMP into|
|00002a90| 20 62 67 20 66 69 65 6c | 64 20 22 54 45 4d 50 22 | bg fiel|d "TEMP"|
|00002aa0| 0d 50 75 74 20 22 42 6f | 74 74 6f 6d 20 54 6f 74 |.Put "Bo|ttom Tot|
|00002ab0| 61 6c 73 22 20 26 26 20 | 74 68 65 20 6c 61 73 74 |als" && |the last|
|00002ac0| 20 77 6f 72 64 20 6f 66 | 20 4c 61 73 74 41 63 74 | word of| LastAct|
|00002ad0| 69 6f 6e 20 69 6e 74 6f | 20 46 69 65 6c 64 4e 61 |ion into| FieldNa|
|00002ae0| 6d 65 0d 73 65 6e 64 20 | 42 6f 74 74 6f 6d 54 6f |me.send |BottomTo|
|00002af0| 74 61 6c 20 74 6f 20 62 | 67 20 66 69 65 6c 64 20 |tal to b|g field |
|00002b00| 46 69 65 6c 64 4e 61 6d | 65 0d 50 75 74 20 62 67 |FieldNam|e.Put bg|
|00002b10| 20 66 69 65 6c 64 20 22 | 52 6f 6c 6c 23 22 20 69 | field "|Roll#" i|
|00002b20| 6e 74 6f 20 54 45 4d 50 | 0d 70 75 74 20 28 62 67 |nto TEMP|.put (bg|
|00002b30| 20 66 69 65 6c 64 20 22 | 4c 61 73 74 52 6f 6c 6c | field "|LastRoll|
|00002b40| 22 20 2b 31 29 20 69 6e | 74 6f 20 62 67 20 66 69 |" +1) in|to bg fi|
|00002b50| 65 6c 64 20 22 52 6f 6c | 6c 23 22 0d 70 75 74 20 |eld "Rol|l#".put |
|00002b60| 54 45 4d 50 20 69 6e 74 | 6f 20 62 67 20 66 69 65 |TEMP int|o bg fie|
|00002b70| 6c 64 20 22 4c 61 73 74 | 52 6f 6c 6c 22 0d 70 75 |ld "Last|Roll".pu|
|00002b80| 74 20 54 75 72 6e 4e 6f | 20 2d 20 31 20 69 6e 74 |t TurnNo| - 1 int|
|00002b90| 6f 20 54 75 72 6e 4e 6f | 0d 65 78 69 74 20 64 6f |o TurnNo|.exit do|
|00002ba0| 4d 65 6e 75 0d 65 6e 64 | 20 69 66 0d 2d 2d 2d 2d |Menu.end| if.----|
|00002bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002bc0| 2d 2d 2d 0d 69 66 20 4c | 61 73 74 41 63 74 69 6f |---.if L|astActio|
|00002bd0| 6e 20 3d 20 22 52 6f 6c | 6c 22 0d 74 68 65 6e 0d |n = "Rol|l".then.|
|00002be0| 70 75 74 20 62 67 20 66 | 69 65 6c 64 20 22 44 69 |put bg f|ield "Di|
|00002bf0| 63 65 22 20 69 6e 74 6f | 20 54 45 4d 50 0d 70 75 |ce" into| TEMP.pu|
|00002c00| 74 20 62 67 20 66 69 65 | 6c 64 20 22 54 65 6d 70 |t bg fie|ld "Temp|
|00002c10| 22 20 69 6e 74 6f 20 62 | 67 20 66 69 65 6c 64 20 |" into b|g field |
|00002c20| 22 44 69 63 65 22 0d 70 | 75 74 20 54 45 4d 50 20 |"Dice".p|ut TEMP |
|00002c30| 69 6e 74 6f 20 62 67 20 | 66 69 65 6c 64 20 22 54 |into bg |field "T|
|00002c40| 65 6d 70 22 0d 70 75 74 | 20 62 67 20 66 69 65 6c |emp".put| bg fiel|
|00002c50| 64 20 22 52 6f 6c 6c 23 | 22 20 69 6e 74 6f 20 54 |d "Roll#|" into T|
|00002c60| 45 4d 50 0d 70 75 74 20 | 62 67 20 66 69 65 6c 64 |EMP.put |bg field|
|00002c70| 20 22 4c 61 73 74 52 6f | 6c 6c 22 20 69 6e 74 6f | "LastRo|ll" into|
|00002c80| 20 62 67 20 66 69 65 6c | 64 20 22 52 6f 6c 6c 23 | bg fiel|d "Roll#|
|00002c90| 22 0d 70 75 74 20 54 45 | 4d 50 20 69 6e 74 6f 20 |".put TE|MP into |
|00002ca0| 62 67 20 66 69 65 6c 64 | 20 22 4c 61 73 74 52 6f |bg field| "LastRo|
|00002cb0| 6c 6c 22 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ll".repe|at with |
|00002cc0| 78 20 3d 20 31 20 74 6f | 20 35 0d 73 65 74 20 69 |x = 1 to| 5.set i|
|00002cd0| 63 6f 6e 20 6f 66 20 62 | 67 20 62 75 74 74 6f 6e |con of b|g button|
|00002ce0| 20 78 20 74 6f 20 28 32 | 31 30 30 2b 6c 69 6e 65 | x to (2|100+line|
|00002cf0| 20 78 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 | x of bg| field "|
|00002d00| 44 69 63 65 22 29 0d 65 | 6e 64 20 72 65 70 65 61 |Dice").e|nd repea|
|00002d10| 74 0d 69 66 20 62 67 20 | 66 69 65 6c 64 20 22 72 |t.if bg |field "r|
|00002d20| 6f 6c 6c 23 22 20 3d 20 | 22 22 0d 74 68 65 6e 0d |oll#" = |"".then.|
|00002d30| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00002d40| 31 20 74 6f 20 35 0d 73 | 65 74 20 68 69 6c 69 67 |1 to 5.s|et hilig|
|00002d50| 68 74 20 6f 66 20 62 67 | 20 62 75 74 74 6f 6e 20 |ht of bg| button |
|00002d60| 78 20 74 6f 20 74 72 75 | 65 0d 65 6e 64 20 72 65 |x to tru|e.end re|
|00002d70| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00002d80| 69 66 0d 65 78 69 74 20 | 64 6f 6d 65 6e 75 0d 65 |if.exit |domenu.e|
|00002d90| 6e 64 20 69 66 0d 70 61 | 73 73 20 64 6f 6d 65 6e |nd if.pa|ss domen|
|00002da0| 75 0d 65 6e 64 20 64 6f | 6d 65 6e 75 0d 0d 6f 6e |u.end do|menu..on|
|00002db0| 20 73 77 69 74 63 68 53 | 6f 75 6e 64 73 0d 67 6c | switchS|ounds.gl|
|00002dc0| 6f 62 61 6c 20 53 57 49 | 54 43 48 49 54 0d 70 75 |obal SWI|TCHIT.pu|
|00002dd0| 74 20 22 74 72 75 65 22 | 20 69 6e 74 6f 20 53 77 |t "true"| into Sw|
|00002de0| 69 74 63 68 49 74 0d 65 | 6e 64 20 73 77 69 74 63 |itchIt.e|nd switc|
|00002df0| 68 53 6f 75 6e 64 73 0d | 6f 6e 20 69 64 6c 65 0d |hSounds.|on idle.|
|00002e00| 67 6c 6f 62 61 6c 20 73 | 77 69 74 63 68 69 74 0d |global s|witchit.|
|00002e10| 69 66 20 73 77 69 74 63 | 68 69 74 20 3d 20 22 74 |if switc|hit = "t|
|00002e20| 72 75 65 22 0d 74 68 65 | 6e 0d 67 6c 6f 62 61 6c |rue".the|n.global|
|00002e30| 20 41 77 65 73 6f 6d 65 | 50 6c 61 79 0d 47 6c 6f | Awesome|Play.Glo|
|00002e40| 62 61 6c 20 42 61 64 50 | 6c 61 79 0d 70 75 74 20 |bal BadP|lay.put |
|00002e50| 70 6c 61 79 65 72 6e 6f | 20 69 6e 74 6f 20 73 6f |playerno| into so|
|00002e60| 75 6e 64 73 77 69 74 63 | 68 0d 70 75 74 20 28 74 |undswitc|h.put (t|
|00002e70| 68 65 20 72 61 6e 64 6f | 6d 20 6f 66 20 37 29 20 |he rando|m of 7) |
|00002e80| 69 6e 74 6f 20 79 0d 69 | 66 20 79 20 3d 20 31 20 |into y.i|f y = 1 |
|00002e90| 74 68 65 6e 20 70 75 74 | 20 22 41 68 68 68 22 20 |then put| "Ahhh" |
|00002ea0| 69 6e 74 6f 20 42 61 64 | 50 6c 61 79 0d 69 66 20 |into Bad|Play.if |
|00002eb0| 79 20 3d 20 32 20 74 68 | 65 6e 20 70 75 74 20 22 |y = 2 th|en put "|
|00002ec0| 46 6f 6f 65 79 22 20 69 | 6e 74 6f 20 42 61 64 50 |Fooey" i|nto BadP|
|00002ed0| 6c 61 79 0d 69 66 20 79 | 20 3d 20 33 20 74 68 65 |lay.if y| = 3 the|
|00002ee0| 6e 20 70 75 74 20 22 47 | 6f 6f 66 65 64 55 70 22 |n put "G|oofedUp"|
|00002ef0| 20 69 6e 74 6f 20 42 61 | 64 50 6c 61 79 0d 69 66 | into Ba|dPlay.if|
|00002f00| 20 79 20 3d 20 34 20 74 | 68 65 6e 20 70 75 74 20 | y = 4 t|hen put |
|00002f10| 22 52 61 74 73 22 20 69 | 6e 74 6f 20 42 61 64 50 |"Rats" i|nto BadP|
|00002f20| 6c 61 79 0d 69 66 20 79 | 20 3d 20 35 20 74 68 65 |lay.if y| = 5 the|
|00002f30| 6e 20 70 75 74 20 22 54 | 68 69 73 54 69 6d 65 22 |n put "T|hisTime"|
|00002f40| 20 69 6e 74 6f 20 42 61 | 64 50 6c 61 79 0d 69 66 | into Ba|dPlay.if|
|00002f50| 20 79 20 3d 20 36 20 74 | 68 65 6e 20 70 75 74 20 | y = 6 t|hen put |
|00002f60| 22 55 68 4f 68 22 20 69 | 6e 74 6f 20 42 61 64 50 |"UhOh" i|nto BadP|
|00002f70| 6c 61 79 0d 69 66 20 79 | 20 3d 20 37 20 74 68 65 |lay.if y| = 7 the|
|00002f80| 6e 20 70 75 74 20 22 59 | 75 63 6b 22 20 69 6e 74 |n put "Y|uck" int|
|00002f90| 6f 20 42 61 64 50 6c 61 | 79 0d 70 75 74 20 28 74 |o BadPla|y.put (t|
|00002fa0| 68 65 20 72 61 6e 64 6f | 6d 20 6f 66 20 33 29 20 |he rando|m of 3) |
|00002fb0| 69 6e 74 6f 20 79 0d 69 | 66 20 79 20 3d 20 31 20 |into y.i|f y = 1 |
|00002fc0| 74 68 65 6e 20 70 75 74 | 20 22 41 68 6f 6f 68 6f |then put| "Ahooho|
|00002fd0| 6f 22 20 69 6e 74 6f 20 | 41 77 65 73 6f 6d 65 50 |o" into |AwesomeP|
|00002fe0| 6c 61 79 0d 69 66 20 79 | 20 3d 20 32 20 74 68 65 |lay.if y| = 2 the|
|00002ff0| 6e 20 70 75 74 20 22 57 | 61 68 6f 6f 22 20 69 6e |n put "W|ahoo" in|
|00003000| 74 6f 20 41 77 65 73 6f | 6d 65 50 6c 61 79 0d 69 |to Aweso|mePlay.i|
|00003010| 66 20 79 20 3d 20 33 20 | 74 68 65 6e 20 70 75 74 |f y = 3 |then put|
|00003020| 20 22 59 65 73 22 20 69 | 6e 74 6f 20 41 77 65 73 | "Yes" i|nto Awes|
|00003030| 6f 6d 65 50 6c 61 79 0d | 70 75 74 20 22 66 61 6c |omePlay.|put "fal|
|00003040| 73 65 22 20 69 6e 74 6f | 20 73 77 69 74 63 68 69 |se" into| switchi|
|00003050| 74 0d 65 6e 64 20 69 66 | 0d 70 61 73 73 20 69 64 |t.end if|.pass id|
|00003060| 6c 65 0d 65 6e 64 20 69 | 64 6c 65 0d 0d 6f 6e 20 |le.end i|dle..on |
|00003070| 43 68 65 63 6b 47 61 6d | 65 45 6e 64 0d 47 6c 6f |CheckGam|eEnd.Glo|
|00003080| 62 61 6c 20 50 6c 61 79 | 65 72 4e 6f 20 2d 2d 20 |bal Play|erNo -- |
|00003090| 74 68 69 73 20 69 73 20 | 74 68 65 20 6e 75 6d 62 |this is |the numb|
|000030a0| 65 72 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |er of th|e curren|
|000030b0| 74 20 50 6c 61 79 65 72 | 0d 47 6c 6f 62 61 6c 20 |t Player|.Global |
|000030c0| 4e 6f 4f 66 50 6c 61 79 | 65 72 73 20 2d 2d 20 74 |NoOfPlay|ers -- t|
|000030d0| 68 69 73 20 69 73 20 74 | 68 65 20 6e 75 6d 62 65 |his is t|he numbe|
|000030e0| 72 20 6f 66 20 70 6c 61 | 79 65 72 73 20 69 6e 20 |r of pla|yers in |
|000030f0| 67 61 6d 65 0d 47 6c 6f | 62 61 6c 20 53 54 4f 50 |game.Glo|bal STOP|
|00003100| 20 2d 2d 20 76 61 72 69 | 61 62 6c 65 20 74 6f 20 | -- vari|able to |
|00003110| 73 74 6f 70 20 65 78 69 | 63 75 74 69 6f 6e 20 6f |stop exi|cution o|
|00003120| 66 20 61 20 73 63 72 69 | 70 74 0d 47 6c 6f 62 61 |f a scri|pt.Globa|
|00003130| 6c 20 54 75 72 6e 4e 6f | 20 2d 2d 20 6e 75 6d 62 |l TurnNo| -- numb|
|00003140| 65 72 20 6f 66 20 74 75 | 72 6e 73 20 70 6c 61 79 |er of tu|rns play|
|00003150| 65 64 0d 47 6c 6f 62 61 | 6c 20 47 61 6d 65 54 79 |ed.Globa|l GameTy|
|00003160| 70 65 20 2d 2d 20 31 2c | 32 2c 6f 72 20 33 20 64 |pe -- 1,|2,or 3 d|
|00003170| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 74 79 70 65 |epending| on type|
|00003180| 20 6f 66 20 59 61 68 74 | 7a 65 65 0d 69 66 20 50 | of Yaht|zee.if P|
|00003190| 6c 61 79 65 72 4e 6f 20 | 3c 3e 20 4e 6f 4f 66 50 |layerNo |<> NoOfP|
|000031a0| 6c 61 79 65 72 73 20 74 | 68 65 6e 20 45 78 69 74 |layers t|hen Exit|
|000031b0| 20 43 68 65 63 6b 47 61 | 6d 65 45 6e 64 0d 69 66 | CheckGa|meEnd.if|
|000031c0| 20 4e 6f 4f 66 50 6c 61 | 79 65 72 73 2a 31 33 2a | NoOfPla|yers*13*|
|000031d0| 47 61 6d 65 54 79 70 65 | 20 3d 20 54 75 72 6e 4e |GameType| = TurnN|
|000031e0| 6f 0d 74 68 65 6e 20 70 | 75 74 20 22 74 72 75 65 |o.then p|ut "true|
|000031f0| 22 20 69 6e 74 6f 20 53 | 54 4f 50 0d 65 6e 64 20 |" into S|TOP.end |
|00003200| 43 68 65 63 6b 47 61 6d | 65 45 6e 64 0d 0d 6f 6e |CheckGam|eEnd..on|
|00003210| 20 65 6e 64 47 61 6d 65 | 0d 67 6c 6f 62 61 6c 20 | endGame|.global |
|00003220| 73 74 6f 70 0d 67 6c 6f | 62 61 6c 20 67 61 6d 65 |stop.glo|bal game|
|00003230| 74 79 70 65 0d 70 75 74 | 20 22 66 61 6c 73 65 22 |type.put| "false"|
|00003240| 20 69 6e 74 6f 20 73 74 | 6f 70 0d 73 65 74 20 63 | into st|op.set c|
|00003250| 75 72 73 6f 72 20 74 6f | 20 22 77 61 74 63 68 22 |ursor to| "watch"|
|00003260| 0d 70 6c 61 79 20 22 42 | 75 7a 7a 65 72 22 0d 70 |.play "B|uzzer".p|
|00003270| 6c 61 79 20 22 50 6f 72 | 6b 79 22 0d 70 6c 61 79 |lay "Por|ky".play|
|00003280| 20 22 57 61 68 6f 6f 22 | 0d 70 6c 61 79 20 22 61 | "Wahoo"|.play "a|
|00003290| 68 6f 6f 68 6f 6f 22 0d | 70 6c 61 79 20 22 41 70 |hoohoo".|play "Ap|
|000032a0| 70 6c 61 75 73 65 22 0d | 2d 2d 2d 2d 2d 2d 2d 2d |plause".|--------|
|000032b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000032c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 50 75 74 |--------|----.Put|
|000032d0| 20 62 67 20 66 69 65 6c | 64 20 22 47 72 61 6e 64 | bg fiel|d "Grand|
|000032e0| 20 54 6f 74 61 6c 20 31 | 22 20 69 6e 74 6f 20 41 | Total 1|" into A|
|000032f0| 0d 50 75 74 20 62 67 20 | 66 69 65 6c 64 20 22 47 |.Put bg |field "G|
|00003300| 72 61 6e 64 20 54 6f 74 | 61 6c 20 32 22 20 69 6e |rand Tot|al 2" in|
|00003310| 74 6f 20 42 0d 50 75 74 | 20 62 67 20 66 69 65 6c |to B.Put| bg fiel|
|00003320| 64 20 22 47 72 61 6e 64 | 20 54 6f 74 61 6c 20 33 |d "Grand| Total 3|
|00003330| 22 20 69 6e 74 6f 20 43 | 0d 70 75 74 20 62 67 20 |" into C|.put bg |
|00003340| 66 69 65 6c 64 20 22 50 | 6c 61 79 65 72 31 22 20 |field "P|layer1" |
|00003350| 69 6e 74 6f 20 41 4e 61 | 6d 65 0d 70 75 74 20 62 |into ANa|me.put b|
|00003360| 67 20 66 69 65 6c 64 20 | 22 50 6c 61 79 65 72 32 |g field |"Player2|
|00003370| 22 20 69 6e 74 6f 20 42 | 4e 61 6d 65 0d 70 75 74 |" into B|Name.put|
|00003380| 20 62 67 20 66 69 65 6c | 64 20 22 50 6c 61 79 65 | bg fiel|d "Playe|
|00003390| 72 33 22 20 69 6e 74 6f | 20 43 4e 61 6d 65 0d 2d |r3" into| CName.-|
|000033a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000033b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000033c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 2d |--------|------.-|
|000033d0| 2d 20 46 69 6e 64 69 6e | 67 20 74 68 65 20 57 69 |- Findin|g the Wi|
|000033e0| 6e 6e 65 72 21 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nner! --|--------|
|000033f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 70 |--------|------.p|
|00003400| 75 74 20 22 22 20 69 6e | 74 6f 20 74 68 65 57 69 |ut "" in|to theWi|
|00003410| 6e 6e 65 72 0d 69 66 20 | 41 20 3e 20 42 20 41 6e |nner.if |A > B An|
|00003420| 64 20 41 20 3e 20 43 20 | 74 68 65 6e 20 70 75 74 |d A > C |then put|
|00003430| 20 41 4e 61 6d 65 20 26 | 26 20 22 69 73 20 74 68 | AName &|& "is th|
|00003440| 65 20 77 69 6e 6e 65 72 | 21 22 20 69 6e 74 6f 20 |e winner|!" into |
|00003450| 74 68 65 57 69 6e 6e 65 | 72 0d 65 6c 73 65 20 69 |theWinne|r.else i|
|00003460| 66 20 20 42 20 3e 20 43 | 20 41 6e 64 20 42 20 3e |f B > C| And B >|
|00003470| 20 41 20 74 68 65 6e 20 | 50 75 74 20 42 4e 61 6d | A then |Put BNam|
|00003480| 65 20 26 26 20 22 69 73 | 20 74 68 65 20 77 69 6e |e && "is| the win|
|00003490| 6e 65 72 21 22 20 69 6e | 74 6f 20 74 68 65 57 69 |ner!" in|to theWi|
|000034a0| 6e 6e 65 72 0d 65 6c 73 | 65 20 69 66 20 20 43 20 |nner.els|e if C |
|000034b0| 3e 20 42 20 41 6e 64 20 | 43 20 3e 20 41 20 74 68 |> B And |C > A th|
|000034c0| 65 6e 20 50 75 74 20 43 | 4e 61 6d 65 20 26 26 20 |en Put C|Name && |
|000034d0| 22 69 73 20 74 68 65 20 | 77 69 6e 6e 65 72 21 22 |"is the |winner!"|
|000034e0| 20 69 6e 74 6f 20 74 68 | 65 57 69 6e 6e 65 72 0d | into th|eWinner.|
|000034f0| 65 6c 73 65 20 69 66 20 | 41 20 3d 20 42 20 41 4e |else if |A = B AN|
|00003500| 44 20 42 20 3d 20 43 20 | 74 68 65 6e 20 61 6e 73 |D B = C |then ans|
|00003510| 77 65 72 20 22 49 74 20 | 77 61 73 20 61 20 74 68 |wer "It |was a th|
|00003520| 72 65 65 20 77 61 79 20 | 74 69 65 21 22 20 77 69 |ree way |tie!" wi|
|00003530| 74 68 20 22 6f 6b 22 0d | 65 6c 73 65 20 69 66 20 |th "ok".|else if |
|00003540| 41 20 3d 20 42 20 74 68 | 65 6e 20 70 75 74 20 41 |A = B th|en put A|
|00003550| 6e 61 6d 65 20 26 26 20 | 42 6e 61 6d 65 20 26 26 |name && |Bname &&|
|00003560| 20 22 74 69 65 64 21 22 | 20 69 6e 74 6f 20 74 68 | "tied!"| into th|
|00003570| 65 57 69 6e 6e 65 72 0d | 65 6c 73 65 20 70 75 74 |eWinner.|else put|
|00003580| 20 42 6e 61 6d 65 20 26 | 26 20 43 6e 61 6d 65 20 | Bname &|& Cname |
|00003590| 26 26 20 22 74 69 65 64 | 21 22 20 69 6e 74 6f 20 |&& "tied|!" into |
|000035a0| 74 68 65 57 69 6e 6e 65 | 72 0d 70 75 74 20 74 68 |theWinne|r.put th|
|000035b0| 65 57 69 6e 6e 65 72 20 | 69 6e 74 6f 20 63 61 72 |eWinner |into car|
|000035c0| 64 20 66 69 65 6c 64 20 | 22 57 69 6e 6e 65 72 22 |d field |"Winner"|
|000035d0| 0d 73 68 6f 77 20 63 61 | 72 64 20 66 69 65 6c 64 |.show ca|rd field|
|000035e0| 20 22 57 69 6e 6e 65 72 | 22 0d 2d 2d 2d 2d 2d 20 | "Winner|".----- |
|000035f0| 68 69 67 68 73 63 6f 72 | 65 73 20 2d 2d 2d 2d 2d |highscor|es -----|
|00003600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003610| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 6c 6f 63 6b 20 73 |--------|-.lock s|
|00003620| 63 72 65 65 6e 0d 67 6f | 20 63 61 72 64 20 22 68 |creen.go| card "h|
|00003630| 69 67 68 73 63 6f 72 65 | 73 22 0d 69 66 20 67 61 |ighscore|s".if ga|
|00003640| 6d 65 74 79 70 65 20 3d | 20 31 20 74 68 65 6e 20 |metype =| 1 then |
|00003650| 70 75 74 20 22 6e 6f 72 | 6d 61 6c 22 20 69 6e 74 |put "nor|mal" int|
|00003660| 6f 20 66 69 65 6c 64 4e | 61 6d 65 0d 69 66 20 67 |o fieldN|ame.if g|
|00003670| 61 6d 65 74 79 70 65 20 | 3d 20 32 20 74 68 65 6e |ametype |= 2 then|
|00003680| 20 70 75 74 20 22 64 6f | 75 62 6c 65 22 20 69 6e | put "do|uble" in|
|00003690| 74 6f 20 66 69 65 6c 64 | 4e 61 6d 65 0d 69 66 20 |to field|Name.if |
|000036a0| 67 61 6d 65 74 79 70 65 | 20 3d 20 33 20 74 68 65 |gametype| = 3 the|
|000036b0| 6e 20 70 75 74 20 22 74 | 72 69 70 6c 65 22 20 69 |n put "t|riple" i|
|000036c0| 6e 74 6f 20 66 69 65 6c | 64 4e 61 6d 65 0d 73 65 |nto fiel|dName.se|
|000036d0| 6c 65 63 74 20 74 65 78 | 74 20 6f 66 20 63 61 72 |lect tex|t of car|
|000036e0| 64 20 66 69 65 6c 64 20 | 66 69 65 6c 64 6e 61 6d |d field |fieldnam|
|000036f0| 65 20 6f 66 20 63 61 72 | 64 20 22 68 69 67 68 73 |e of car|d "highs|
|00003700| 63 6f 72 65 73 22 0d 64 | 6f 4d 65 6e 75 20 22 70 |cores".d|oMenu "p|
|00003710| 6c 61 69 6e 22 0d 64 6f | 6d 65 6e 75 20 22 63 6f |lain".do|menu "co|
|00003720| 6e 64 65 6e 73 65 22 0d | 70 75 74 20 30 20 69 6e |ndense".|put 0 in|
|00003730| 74 6f 20 48 69 67 68 53 | 63 6f 72 65 0d 72 65 70 |to HighS|core.rep|
|00003740| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 31 20 74 |eat with| x = 1 t|
|00003750| 6f 20 31 30 0d 69 66 20 | 74 68 65 20 66 69 72 73 |o 10.if |the firs|
|00003760| 74 20 77 6f 72 64 20 6f | 66 20 6c 69 6e 65 20 78 |t word o|f line x|
|00003770| 20 6f 66 20 63 61 72 64 | 20 66 69 65 6c 64 20 66 | of card| field f|
|00003780| 69 65 6c 64 6e 61 6d 65 | 20 3c 20 41 0d 74 68 65 |ieldname| < A.the|
|00003790| 6e 0d 70 75 74 20 41 20 | 26 26 20 22 20 22 20 26 |n.put A |&& " " &|
|000037a0| 20 41 4e 61 6d 65 20 26 | 20 52 65 74 75 72 6e 20 | AName &| Return |
|000037b0| 62 65 66 6f 72 65 20 6c | 69 6e 65 20 78 20 6f 66 |before l|ine x of|
|000037c0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 66 69 65 6c | card fi|eld fiel|
|000037d0| 64 6e 61 6d 65 0d 70 75 | 74 20 22 22 20 69 6e 74 |dname.pu|t "" int|
|000037e0| 6f 20 6c 69 6e 65 20 31 | 31 20 6f 66 20 63 61 72 |o line 1|1 of car|
|000037f0| 64 20 66 69 65 6c 64 20 | 66 69 65 6c 64 6e 61 6d |d field |fieldnam|
|00003800| 65 0d 73 65 6c 65 63 74 | 20 6c 69 6e 65 20 78 20 |e.select| line x |
|00003810| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 66 69 |of card |field fi|
|00003820| 65 6c 64 6e 61 6d 65 0d | 64 6f 6d 65 6e 75 20 22 |eldname.|domenu "|
|00003830| 70 6c 61 69 6e 22 0d 64 | 6f 6d 65 6e 75 20 22 75 |plain".d|omenu "u|
|00003840| 6e 64 65 72 6c 69 6e 65 | 22 0d 70 75 74 20 48 69 |nderline|".put Hi|
|00003850| 67 68 53 63 6f 72 65 20 | 2b 31 20 69 6e 74 6f 20 |ghScore |+1 into |
|00003860| 48 69 67 68 53 63 6f 72 | 65 0d 65 78 69 74 20 72 |HighScor|e.exit r|
|00003870| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end|
|00003880| 20 72 65 70 65 61 74 0d | 72 65 70 65 61 74 20 77 | repeat.|repeat w|
|00003890| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 31 30 0d |ith x = |1 to 10.|
|000038a0| 69 66 20 74 68 65 20 66 | 69 72 73 74 20 77 6f 72 |if the f|irst wor|
|000038b0| 64 20 6f 66 20 6c 69 6e | 65 20 78 20 6f 66 20 63 |d of lin|e x of c|
|000038c0| 61 72 64 20 66 69 65 6c | 64 20 66 69 65 6c 64 6e |ard fiel|d fieldn|
|000038d0| 61 6d 65 20 3c 20 42 0d | 74 68 65 6e 0d 70 75 74 |ame < B.|then.put|
|000038e0| 20 42 20 26 26 20 22 20 | 22 20 26 20 42 4e 61 6d | B && " |" & BNam|
|000038f0| 65 20 26 20 52 65 74 75 | 72 6e 20 62 65 66 6f 72 |e & Retu|rn befor|
|00003900| 65 20 6c 69 6e 65 20 78 | 20 6f 66 20 63 61 72 64 |e line x| of card|
|00003910| 20 66 69 65 6c 64 20 66 | 69 65 6c 64 6e 61 6d 65 | field f|ieldname|
|00003920| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 6c 69 6e |.put "" |into lin|
|00003930| 65 20 31 31 20 6f 66 20 | 63 61 72 64 20 66 69 65 |e 11 of |card fie|
|00003940| 6c 64 20 66 69 65 6c 64 | 6e 61 6d 65 0d 73 65 6c |ld field|name.sel|
|00003950| 65 63 74 20 6c 69 6e 65 | 20 78 20 6f 66 20 63 61 |ect line| x of ca|
|00003960| 72 64 20 66 69 65 6c 64 | 20 66 69 65 6c 64 6e 61 |rd field| fieldna|
|00003970| 6d 65 0d 64 6f 6d 65 6e | 75 20 22 70 6c 61 69 6e |me.domen|u "plain|
|00003980| 22 0d 64 6f 6d 65 6e 75 | 20 22 75 6e 64 65 72 6c |".domenu| "underl|
|00003990| 69 6e 65 22 0d 70 75 74 | 20 48 69 67 68 53 63 6f |ine".put| HighSco|
|000039a0| 72 65 20 2b 31 20 69 6e | 74 6f 20 48 69 67 68 53 |re +1 in|to HighS|
|000039b0| 63 6f 72 65 0d 65 78 69 | 74 20 72 65 70 65 61 74 |core.exi|t repeat|
|000039c0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|000039d0| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |at.repea|t with x|
|000039e0| 20 3d 20 31 20 74 6f 20 | 31 30 0d 69 66 20 74 68 | = 1 to |10.if th|
|000039f0| 65 20 66 69 72 73 74 20 | 77 6f 72 64 20 6f 66 20 |e first |word of |
|00003a00| 6c 69 6e 65 20 78 20 6f | 66 20 63 61 72 64 20 66 |line x o|f card f|
|00003a10| 69 65 6c 64 20 66 69 65 | 6c 64 6e 61 6d 65 20 3c |ield fie|ldname <|
|00003a20| 20 43 0d 74 68 65 6e 0d | 70 75 74 20 43 20 26 26 | C.then.|put C &&|
|00003a30| 20 22 20 22 20 26 20 43 | 4e 61 6d 65 20 26 20 52 | " " & C|Name & R|
|00003a40| 65 74 75 72 6e 20 62 65 | 66 6f 72 65 20 6c 69 6e |eturn be|fore lin|
|00003a50| 65 20 78 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |e x of c|ard fiel|
|00003a60| 64 20 66 69 65 6c 64 6e | 61 6d 65 0d 70 75 74 20 |d fieldn|ame.put |
|00003a70| 22 22 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 31 20 |"" into |line 11 |
|00003a80| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 66 69 |of card |field fi|
|00003a90| 65 6c 64 6e 61 6d 65 0d | 73 65 6c 65 63 74 20 6c |eldname.|select l|
|00003aa0| 69 6e 65 20 78 20 6f 66 | 20 63 61 72 64 20 66 69 |ine x of| card fi|
|00003ab0| 65 6c 64 20 66 69 65 6c | 64 6e 61 6d 65 0d 64 6f |eld fiel|dname.do|
|00003ac0| 6d 65 6e 75 20 22 70 6c | 61 69 6e 22 0d 64 6f 6d |menu "pl|ain".dom|
|00003ad0| 65 6e 75 20 22 75 6e 64 | 65 72 6c 69 6e 65 22 0d |enu "und|erline".|
|00003ae0| 70 75 74 20 48 69 67 68 | 53 63 6f 72 65 20 2b 31 |put High|Score +1|
|00003af0| 20 69 6e 74 6f 20 48 69 | 67 68 53 63 6f 72 65 0d | into Hi|ghScore.|
|00003b00| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00003b10| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|00003b20| 20 68 69 67 68 73 63 6f | 72 65 20 3e 20 30 0d 74 | highsco|re > 0.t|
|00003b30| 68 65 6e 0d 69 66 20 68 | 69 67 68 73 63 6f 72 65 |hen.if h|ighscore|
|00003b40| 20 3d 20 31 0d 74 68 65 | 6e 0d 70 75 74 20 22 54 | = 1.the|n.put "T|
|00003b50| 68 69 73 20 63 68 61 6e | 67 65 73 20 74 68 65 20 |his chan|ges the |
|00003b60| 68 69 67 68 20 73 63 6f | 72 65 20 6c 69 73 74 2e |high sco|re list.|
|00003b70| 20 20 44 6f 20 79 6f 75 | 20 77 61 6e 74 20 74 6f | Do you| want to|
|00003b80| 20 73 65 65 3f 22 c2 0d | 69 6e 74 6f 20 48 69 67 | see?"..|into Hig|
|00003b90| 68 51 75 65 73 74 69 6f | 6e 0d 65 6c 73 65 20 70 |hQuestio|n.else p|
|00003ba0| 75 74 20 48 69 67 68 73 | 63 6f 72 65 20 26 26 20 |ut Highs|core && |
|00003bb0| 22 70 65 6f 70 6c 65 20 | 6d 61 64 65 20 74 68 65 |"people |made the|
|00003bc0| 20 68 69 67 68 20 73 63 | 6f 72 65 20 6c 69 73 74 | high sc|ore list|
|00003bd0| 2e 20 20 44 6f 20 79 6f | 75 20 77 61 6e 74 20 74 |. Do yo|u want t|
|00003be0| 6f 20 73 65 65 3f 22 c2 | 0d 69 6e 74 6f 20 48 69 |o see?".|.into Hi|
|00003bf0| 67 68 51 75 65 73 74 69 | 6f 6e 0d 65 6e 64 20 69 |ghQuesti|on.end i|
|00003c00| 66 0d 61 6e 73 77 65 72 | 20 48 69 67 68 51 75 65 |f.answer| HighQue|
|00003c10| 73 74 69 6f 6e 20 77 69 | 74 68 20 22 63 61 6e 63 |stion wi|th "canc|
|00003c20| 65 6c 22 20 6f 72 20 22 | 6f 6b 22 0d 69 66 20 69 |el" or "|ok".if i|
|00003c30| 74 20 3d 20 22 6f 6b 22 | 0d 74 68 65 6e 0d 73 68 |t = "ok"|.then.sh|
|00003c40| 6f 77 20 63 61 72 64 20 | 62 75 74 74 6f 6e 20 66 |ow card |button f|
|00003c50| 69 65 6c 64 6e 61 6d 65 | 0d 75 6e 6c 6f 63 6b 20 |ieldname|.unlock |
|00003c60| 73 63 72 65 65 6e 20 77 | 69 74 68 20 76 69 73 75 |screen w|ith visu|
|00003c70| 61 6c 20 64 69 73 73 6f | 6c 76 65 20 76 65 72 79 |al disso|lve very|
|00003c80| 20 66 61 73 74 0d 66 6c | 61 73 68 20 35 0d 65 6c | fast.fl|ash 5.el|
|00003c90| 73 65 20 67 6f 20 74 6f | 20 66 69 72 73 74 20 63 |se go to| first c|
|00003ca0| 61 72 64 0d 65 6e 64 20 | 65 6e 64 47 61 6d 65 0d |ard.end |endGame.|
|00003cb0| 0d 00 0d 73 68 6f 77 20 | 63 61 72 64 20 62 75 74 |...show |card but|
|00003cc0| 74 6f 6e 20 66 69 65 6c | 64 6e 61 6d 65 0d 75 6e |ton fiel|dname.un|
|00003cd0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00003ce0| 20 76 69 73 75 61 6c 20 | 64 69 73 73 6f 6c 76 65 | visual |dissolve|
|00003cf0| 20 76 65 72 79 20 66 61 | 73 74 0d 66 6c 61 73 68 | very fa|st.flash|
|00003d00| 20 35 0d 65 6c 73 65 20 | 67 6f 20 74 6f 20 66 69 | 5.else |go to fi|
|00003d10| 72 73 74 20 63 61 72 64 | 0d 65 6e 64 20 65 6e 64 |rst card|.end end|
|00003d20| 47 61 6d 65 0d 0d 00 00 | 00 00 00 00 00 00 00 00 |Game....|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ea0| 00 08 99 d9 00 09 ae 64 | 00 02 44 fa 00 08 9b 0a |.......d|..D.....|
|00003eb0| 00 09 b5 ff 00 09 bf 45 | 00 07 fe 51 00 00 00 00 |.......E|...Q....|
|00003ec0| 00 00 00 00 00 02 00 36 | 00 02 04 27 00 08 69 d3 |.......6|...'..i.|
|00003ed0| 00 08 ef 51 00 09 22 c1 | 00 08 6b 79 00 00 00 00 |...Q..".|..ky....|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 00 80 4c 49 53 54 | 00 00 11 36 00 00 00 00 |....LIST|...6....|
|00004090| 00 00 00 01 00 00 08 00 | 00 00 00 03 00 38 00 02 |........|.....8..|
|000040a0| 00 0d 00 03 e0 00 02 47 | 00 00 00 03 00 00 00 00 |.......G|........|
|000040b0| 00 00 12 27 00 03 00 00 | 00 00 00 00 00 00 00 00 |...'....|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 08 00 50 41 47 45 | 00 00 12 27 00 00 00 00 |....PAGE|...'....|
|00004110| 00 00 11 36 49 00 01 83 | 00 00 0b 0a 60 76 fa ff |...6I...|....`v..|
|00004120| ff 7d af ff fd ff af ff | ed 9b bf b6 ed ff ff f7 |.}......|........|
|00004130| e6 da be 9d fe bf bd bf | 7b fc ff 93 2f ee f3 6e |........|{.../..n|
|00004140| ff df ff fc eb de 5f ff | df ff fd 5b ff 57 df c0 |......_.|...[.W..|
|00004150| 00 00 14 51 e0 20 00 80 | 00 00 28 00 08 02 04 00 |...Q. ..|..(.....|
|00004160| 00 00 04 08 00 00 01 00 | 00 00 80 00 00 00 20 a0 |........|...... .|
|00004170| 02 00 01 00 00 00 40 00 | 80 00 20 00 81 00 00 04 |......@.|.. .....|
|00004180| 80 00 20 00 00 12 01 00 | 00 00 09 64 60 30 00 c0 |.. .....|...d`0..|
|00004190| 00 00 20 09 29 48 00 01 | 04 e8 00 49 00 00 02 33 |.. .)H..|...I...3|
|000041a0| 00 40 01 10 82 08 a0 30 | 50 05 02 00 40 0c 50 04 |.@.....0|P...@.P.|
|000041b0| 00 00 00 40 80 96 00 10 | 00 02 e0 00 00 50 04 00 |...@....|.....P..|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 00 b7 40 42 4b 47 44 | 00 00 0a fa 00 00 00 00 |...@BKGD|........|
|00004910| 00 00 0e 51 40 00 00 00 | 00 00 00 01 00 00 13 d3 |...Q@...|........|
|00004920| 00 00 08 d9 00 3e 00 6e | 00 00 aa e0 00 1d 00 00 |.....>.n|........|
|00004930| 02 3e 03 22 00 04 02 09 | 00 80 00 4e 00 98 00 74 |.>."....|...N...t|
|00004940| 40 02 00 00 00 00 00 01 | 00 03 00 0a 01 00 00 0c |@.......|........|
|00004950| 54 6f 70 20 54 6f 74 61 | 6c 73 20 31 41 00 00 6f |Top Tota|ls 1A..o|
|00004960| 6e 20 54 6f 70 54 6f 74 | 61 6c 0d 70 75 74 20 30 |n TopTot|al.put 0|
|00004970| 20 69 6e 74 6f 20 74 65 | 6d 70 0d 70 75 74 20 22 | into te|mp.put "|
|00004980| 54 6f 70 20 53 65 63 74 | 69 6f 6e 22 20 26 26 20 |Top Sect|ion" && |
|00004990| 74 68 65 20 6c 61 73 74 | 20 77 6f 72 64 20 6f 66 |the last| word of|
|000049a0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|000049b0| 6f 66 20 6d 65 20 69 6e | 74 6f 20 46 69 65 6c 64 |of me in|to Field|
|000049c0| 4e 61 6d 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Name.rep|eat with|
|000049d0| 20 78 20 3d 20 31 20 74 | 6f 20 36 0d 70 75 74 20 | x = 1 t|o 6.put |
|000049e0| 54 45 4d 50 20 2b 20 6c | 69 6e 65 20 78 20 6f 66 |TEMP + l|ine x of|
|000049f0| 20 62 67 20 66 69 65 6c | 64 20 46 69 65 6c 64 4e | bg fiel|d FieldN|
|00004a00| 61 6d 65 20 69 6e 74 6f | 20 54 45 4d 50 0d 65 6e |ame into| TEMP.en|
|00004a10| 64 20 72 65 70 65 61 74 | 0d 2d 2d 20 46 49 47 55 |d repeat|.-- FIGU|
|00004a20| 52 45 20 4f 55 54 20 50 | 52 4f 50 45 52 20 42 4f |RE OUT P|ROPER BO|
|00004a30| 4e 55 53 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 69 66 |NUS ----|-----.if|
|00004a40| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 74 68 | last ch|ar of th|
|00004a50| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00004a60| 6d 65 20 3d 20 22 41 22 | 0d 74 68 65 6e 20 70 75 |me = "A"|.then pu|
|00004a70| 74 20 31 20 69 6e 74 6f | 20 42 6f 6e 75 73 0d 69 |t 1 into| Bonus.i|
|00004a80| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 74 |f last c|har of t|
|00004a90| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00004aa0| 20 6d 65 20 3d 20 22 42 | 22 0d 74 68 65 6e 20 70 | me = "B|".then p|
|00004ab0| 75 74 20 32 20 69 6e 74 | 6f 20 42 6f 6e 75 73 0d |ut 2 int|o Bonus.|
|00004ac0| 69 66 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |if last |char of |
|00004ad0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00004ae0| 66 20 6d 65 20 3d 20 22 | 43 22 0d 74 68 65 6e 20 |f me = "|C".then |
|00004af0| 70 75 74 20 33 20 69 6e | 74 6f 20 42 6f 6e 75 73 |put 3 in|to Bonus|
|00004b00| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00004b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 69 66 20 54 |--------|---.if T|
|00004b20| 45 4d 50 20 3e 3d 20 28 | 36 33 20 2a 20 42 6f 6e |EMP >= (|63 * Bon|
|00004b30| 75 73 29 0d 74 68 65 6e | 0d 70 6c 61 79 20 22 62 |us).then|.play "b|
|00004b40| 6f 6e 75 73 22 0d 70 6c | 61 79 20 22 61 70 70 6c |onus".pl|ay "appl|
|00004b50| 61 75 73 65 22 0d 70 75 | 74 20 28 33 35 20 2a 20 |ause".pu|t (35 * |
|00004b60| 42 6f 6e 75 73 29 20 69 | 6e 74 6f 20 6c 69 6e 65 |Bonus) i|nto line|
|00004b70| 20 31 20 6f 66 20 6d 65 | 0d 65 6e 64 20 69 66 0d | 1 of me|.end if.|
|00004b80| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 6d 65 |put line| 1 of me|
|00004b90| 20 2b 20 54 45 4d 50 20 | 69 6e 74 6f 20 6c 69 6e | + TEMP |into lin|
|00004ba0| 65 20 32 20 6f 66 20 6d | 65 0d 70 75 74 20 22 42 |e 2 of m|e.put "B|
|00004bb0| 6f 74 74 6f 6d 20 54 6f | 74 61 6c 73 22 20 26 26 |ottom To|tals" &&|
|00004bc0| 20 74 68 65 20 6c 61 73 | 74 20 77 6f 72 64 20 6f | the las|t word o|
|00004bd0| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00004be0| 20 6f 66 20 6d 65 20 69 | 6e 74 6f 20 46 69 65 6c | of me i|nto Fiel|
|00004bf0| 64 4e 61 6d 65 0d 53 65 | 6e 64 20 42 6f 74 74 6f |dName.Se|nd Botto|
|00004c00| 6d 54 6f 74 61 6c 20 74 | 6f 20 62 67 20 66 69 65 |mTotal t|o bg fie|
|00004c10| 6c 64 20 46 69 65 6c 64 | 4e 61 6d 65 0d 65 6e 64 |ld Field|Name.end|
|00004c20| 20 54 6f 70 54 6f 74 61 | 6c 0d 0d 6f 6e 20 4d 6f | TopTota|l..on Mo|
|00004c30| 75 73 65 55 50 0d 41 75 | 74 6f 6d 61 74 69 63 4d |useUP.Au|tomaticM|
|00004c40| 65 73 73 61 67 65 0d 65 | 6e 64 20 4d 6f 75 73 65 |essage.e|nd Mouse|
|00004c50| 55 70 00 00 00 28 00 05 | 02 29 00 25 00 4e 00 39 |Up...(..|.).%.N.9|
|00004c60| 00 be 00 04 00 00 00 00 | 00 01 00 03 00 0c 01 00 |........|........|
|00004c70| 00 10 50 6c 61 79 65 72 | 31 00 00 00 00 2a 00 06 |..Player|1....*..|
|00004c80| 02 88 00 de 01 a8 00 fe | 01 d8 40 02 00 00 00 00 |........|..@.....|
|00004c90| 00 01 00 03 00 0a 00 00 | 00 0c 4c 61 73 74 52 6f |........|..LastRo|
|00004ca0| 6c 6c 00 00 00 00 00 26 | 00 07 02 88 00 df 01 a8 |ll.....&|........|
|00004cb0| 01 28 01 d8 40 02 00 00 | 00 00 00 01 00 03 00 0a |.(..@...|........|
|00004cc0| 00 00 00 0c 54 45 4d 50 | 00 00 00 00 00 26 00 08 |....TEMP|.....&..|
|00004cd0| 02 88 00 df 01 a8 01 1c | 01 d8 40 02 00 00 00 00 |........|..@.....|
|00004ce0| 00 01 00 03 00 0a 00 00 | 00 0c 44 69 63 65 00 00 |........|..Dice..|
|00004cf0| 00 00 00 26 00 09 02 0d | 00 04 01 71 00 20 01 8d |...&....|...q. ..|
|00004d00| 00 04 00 00 00 00 00 00 | 00 03 00 18 01 00 00 20 |........|....... |
|00004d10| 52 6f 6c 6c 23 00 00 00 | 01 94 00 0a 01 00 00 00 |Roll#...|........|
|00004d20| 00 9f 00 23 00 c3 40 00 | 00 00 08 37 00 01 00 00 |...#..@.|...7....|
|00004d30| 00 0c 00 00 00 10 44 31 | 00 00 6f 6e 20 6d 6f 75 |......D1|..on mou|
|00004d40| 73 65 55 70 0d 47 6c 6f | 62 61 6c 20 44 69 63 65 |seUp.Glo|bal Dice|
|00004d50| 55 73 65 64 0d 69 66 20 | 62 67 20 66 69 65 6c 64 |Used.if |bg field|
|00004d60| 20 22 52 6f 6c 6c 23 22 | 20 3d 20 22 22 0d 74 68 | "Roll#"| = "".th|
|00004d70| 65 6e 0d 70 6c 61 79 20 | 22 42 75 7a 7a 65 72 22 |en.play |"Buzzer"|
|00004d80| 0d 61 6e 73 77 65 72 20 | 22 59 6f 75 20 68 61 76 |.answer |"You hav|
|00004d90| 65 20 74 6f 20 72 6f 6c | 6c 20 61 6c 6c 20 74 68 |e to rol|l all th|
|00004da0| 65 20 64 69 63 65 20 74 | 68 65 20 66 69 72 73 74 |e dice t|he first|
|00004db0| 20 74 69 6d 65 2e 22 20 | 77 69 74 68 20 22 6f 6b | time." |with "ok|
|00004dc0| 22 0d 65 78 69 74 20 6d | 6f 75 73 65 55 70 0d 65 |".exit m|ouseUp.e|
|00004dd0| 6e 64 20 69 66 0d 69 66 | 20 68 69 6c 69 67 68 74 |nd if.if| hilight|
|00004de0| 20 6f 66 20 6d 65 20 69 | 73 20 74 72 75 65 0d 74 | of me i|s true.t|
|00004df0| 68 65 6e 0d 70 6c 61 79 | 20 22 55 6e 53 65 6c 65 |hen.play| "UnSele|
|00004e00| 63 74 44 69 65 22 0d 73 | 65 74 20 68 69 6c 69 67 |ctDie".s|et hilig|
|00004e10| 68 74 20 6f 66 20 6d 65 | 20 74 6f 20 66 61 6c 73 |ht of me| to fals|
|00004e20| 65 0d 65 6c 73 65 0d 69 | 66 20 68 69 6c 69 67 68 |e.else.i|f hiligh|
|00004e30| 74 20 6f 66 20 6d 65 20 | 69 73 20 66 61 6c 73 65 |t of me |is false|
|00004e40| 0d 74 68 65 6e 0d 70 6c | 61 79 20 22 53 65 6c 65 |.then.pl|ay "Sele|
|00004e50| 63 74 44 69 65 22 0d 73 | 65 74 20 68 69 6c 69 67 |ctDie".s|et hilig|
|00004e60| 68 74 20 6f 66 20 6d 65 | 20 74 6f 20 74 72 75 65 |ht of me| to true|
|00004e70| 0d 70 75 74 20 44 69 63 | 65 55 73 65 64 20 2b 20 |.put Dic|eUsed + |
|00004e80| 31 20 69 6e 74 6f 20 44 | 69 63 65 55 73 65 64 0d |1 into D|iceUsed.|
|00004e90| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00004ea0| 64 20 6d 6f 75 73 65 55 | 70 0d 00 00 01 94 00 0b |d mouseU|p.......|
|00004eb0| 01 00 00 00 00 c7 00 23 | 00 eb 40 00 00 00 08 39 |.......#|..@....9|
|00004ec0| 00 01 00 00 00 0c 00 00 | 00 10 44 32 00 00 6f 6e |........|..D2..on|
|00004ed0| 20 6d 6f 75 73 65 55 70 | 0d 47 6c 6f 62 61 6c 20 | mouseUp|.Global |
|00004ee0| 44 69 63 65 55 73 65 64 | 0d 69 66 20 62 67 20 66 |DiceUsed|.if bg f|
|00004ef0| 69 65 6c 64 20 22 52 6f | 6c 6c 23 22 20 3d 20 22 |ield "Ro|ll#" = "|
|00004f00| 22 0d 74 68 65 6e 0d 70 | 6c 61 79 20 22 42 75 7a |".then.p|lay "Buz|
|00004f10| 7a 65 72 22 0d 61 6e 73 | 77 65 72 20 22 59 6f 75 |zer".ans|wer "You|
|00004f20| 20 68 61 76 65 20 74 6f | 20 72 6f 6c 6c 20 61 6c | have to| roll al|
|00004f30| 6c 20 74 68 65 20 64 69 | 63 65 20 74 68 65 20 66 |l the di|ce the f|
|00004f40| 69 72 73 74 20 74 69 6d | 65 2e 22 20 77 69 74 68 |irst tim|e." with|
|00004f50| 20 22 6f 6b 22 0d 65 78 | 69 74 20 6d 6f 75 73 65 | "ok".ex|it mouse|
|00004f60| 55 70 0d 65 6e 64 20 69 | 66 0d 69 66 20 68 69 6c |Up.end i|f.if hil|
|00004f70| 69 67 68 74 20 6f 66 20 | 6d 65 20 69 73 20 74 72 |ight of |me is tr|
|00004f80| 75 65 0d 74 68 65 6e 0d | 70 6c 61 79 20 22 55 6e |ue.then.|play "Un|
|00004f90| 53 65 6c 65 63 74 44 69 | 65 22 0d 73 65 74 20 68 |SelectDi|e".set h|
|00004fa0| 69 6c 69 67 68 74 20 6f | 66 20 6d 65 20 74 6f 20 |ilight o|f me to |
|00004fb0| 66 61 6c 73 65 0d 65 6c | 73 65 0d 69 66 20 68 69 |false.el|se.if hi|
|00004fc0| 6c 69 67 68 74 20 6f 66 | 20 6d 65 20 69 73 20 66 |light of| me is f|
|00004fd0| 61 6c 73 65 0d 74 68 65 | 6e 0d 70 6c 61 79 20 22 |alse.the|n.play "|
|00004fe0| 53 65 6c 65 63 74 44 69 | 65 22 0d 73 65 74 20 68 |SelectDi|e".set h|
|00004ff0| 69 6c 69 67 68 74 20 6f | 66 20 6d 65 20 74 6f 20 |ilight o|f me to |
|00005000| 74 72 75 65 0d 70 75 74 | 20 44 69 63 65 55 73 65 |true.put| DiceUse|
|00005010| 64 20 2b 20 31 20 69 6e | 74 6f 20 44 69 63 65 55 |d + 1 in|to DiceU|
|00005020| 73 65 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |sed.end |if.end i|
|00005030| 66 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 00 00 |f.end mo|useUp...|
|00005040| 01 94 00 0c 01 00 00 00 | 00 ef 00 23 01 13 40 00 |........|...#..@.|
|00005050| 00 00 08 39 00 01 00 00 | 00 0c 00 00 00 10 44 33 |...9....|......D3|
|00005060| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 47 6c 6f |..on mou|seUp.Glo|
|00005070| 62 61 6c 20 44 69 63 65 | 55 73 65 64 0d 69 66 20 |bal Dice|Used.if |
|00005080| 62 67 20 66 69 65 6c 64 | 20 22 52 6f 6c 6c 23 22 |bg field| "Roll#"|
|00005090| 20 3d 20 22 22 0d 74 68 | 65 6e 0d 70 6c 61 79 20 | = "".th|en.play |
|000050a0| 22 42 75 7a 7a 65 72 22 | 0d 61 6e 73 77 65 72 20 |"Buzzer"|.answer |
|000050b0| 22 59 6f 75 20 68 61 76 | 65 20 74 6f 20 72 6f 6c |"You hav|e to rol|
|000050c0| 6c 20 61 6c 6c 20 74 68 | 65 20 64 69 63 65 20 74 |l all th|e dice t|
|000050d0| 68 65 20 66 69 72 73 74 | 20 74 69 6d 65 2e 22 20 |he first| time." |
|000050e0| 77 69 74 68 20 22 6f 6b | 22 0d 65 78 69 74 20 6d |with "ok|".exit m|
|000050f0| 6f 75 73 65 55 70 0d 65 | 6e 64 20 69 66 0d 69 66 |ouseUp.e|nd if.if|
|00005100| 20 68 69 6c 69 67 68 74 | 20 6f 66 20 6d 65 20 69 | hilight| of me i|
|00005110| 73 20 74 72 75 65 0d 74 | 68 65 6e 0d 70 6c 61 79 |s true.t|hen.play|
|00005120| 20 22 55 6e 53 65 6c 65 | 63 74 44 69 65 22 0d 73 | "UnSele|ctDie".s|
|00005130| 65 74 20 68 69 6c 69 67 | 68 74 20 6f 66 20 6d 65 |et hilig|ht of me|
|00005140| 20 74 6f 20 66 61 6c 73 | 65 0d 65 6c 73 65 0d 69 | to fals|e.else.i|
|00005150| 66 20 68 69 6c 69 67 68 | 74 20 6f 66 20 6d 65 20 |f hiligh|t of me |
|00005160| 69 73 20 66 61 6c 73 65 | 0d 74 68 65 6e 0d 70 6c |is false|.then.pl|
|00005170| 61 79 20 22 53 65 6c 65 | 63 74 44 69 65 22 0d 73 |ay "Sele|ctDie".s|
|00005180| 65 74 20 68 69 6c 69 67 | 68 74 20 6f 66 20 6d 65 |et hilig|ht of me|
|00005190| 20 74 6f 20 74 72 75 65 | 0d 70 75 74 20 44 69 63 | to true|.put Dic|
|000051a0| 65 55 73 65 64 20 2b 20 | 31 20 69 6e 74 6f 20 44 |eUsed + |1 into D|
|000051b0| 69 63 65 55 73 65 64 0d | 65 6e 64 20 69 66 0d 65 |iceUsed.|end if.e|
|000051c0| 6e 64 20 69 66 0d 65 6e | 64 20 6d 6f 75 73 65 55 |nd if.en|d mouseU|
|000051d0| 70 0d 00 00 00 2a 00 01 | 02 28 00 38 00 00 00 80 |p....*..|.(.8....|
|000051e0| 00 4e 40 02 00 00 00 00 | 00 01 00 03 00 0a 01 00 |.N@.....|........|
|000051f0| 00 0c 54 6f 70 4c 61 62 | 65 6c 73 00 00 00 01 94 |..TopLab|els.....|
|00005200| 00 0d 01 00 00 00 01 17 | 00 23 01 3b 40 00 00 00 |........|.#.;@...|
|00005210| 08 3a 00 01 00 00 00 0c | 00 00 00 10 44 34 00 00 |.:......|....D4..|
|00005220| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 47 6c 6f 62 61 |on mouse|Up.Globa|
|00005230| 6c 20 44 69 63 65 55 73 | 65 64 0d 69 66 20 62 67 |l DiceUs|ed.if bg|
|00005240| 20 66 69 65 6c 64 20 22 | 52 6f 6c 6c 23 22 20 3d | field "|Roll#" =|
|00005250| 20 22 22 0d 74 68 65 6e | 0d 70 6c 61 79 20 22 42 | "".then|.play "B|
|00005260| 75 7a 7a 65 72 22 0d 61 | 6e 73 77 65 72 20 22 59 |uzzer".a|nswer "Y|
|00005270| 6f 75 20 68 61 76 65 20 | 74 6f 20 72 6f 6c 6c 20 |ou have |to roll |
|00005280| 61 6c 6c 20 74 68 65 20 | 64 69 63 65 20 74 68 65 |all the |dice the|
|00005290| 20 66 69 72 73 74 20 74 | 69 6d 65 2e 22 20 77 69 | first t|ime." wi|
|000052a0| 74 68 20 22 6f 6b 22 0d | 65 78 69 74 20 6d 6f 75 |th "ok".|exit mou|
|000052b0| 73 65 55 70 0d 65 6e 64 | 20 69 66 0d 69 66 20 68 |seUp.end| if.if h|
|000052c0| 69 6c 69 67 68 74 20 6f | 66 20 6d 65 20 69 73 20 |ilight o|f me is |
|000052d0| 74 72 75 65 0d 74 68 65 | 6e 0d 70 6c 61 79 20 22 |true.the|n.play "|
|000052e0| 55 6e 53 65 6c 65 63 74 | 44 69 65 22 0d 73 65 74 |UnSelect|Die".set|
|000052f0| 20 68 69 6c 69 67 68 74 | 20 6f 66 20 6d 65 20 74 | hilight| of me t|
|00005300| 6f 20 66 61 6c 73 65 0d | 65 6c 73 65 0d 69 66 20 |o false.|else.if |
|00005310| 68 69 6c 69 67 68 74 20 | 6f 66 20 6d 65 20 69 73 |hilight |of me is|
|00005320| 20 66 61 6c 73 65 0d 74 | 68 65 6e 0d 70 6c 61 79 | false.t|hen.play|
|00005330| 20 22 53 65 6c 65 63 74 | 44 69 65 22 0d 73 65 74 | "Select|Die".set|
|00005340| 20 68 69 6c 69 67 68 74 | 20 6f 66 20 6d 65 20 74 | hilight| of me t|
|00005350| 6f 20 74 72 75 65 0d 70 | 75 74 20 44 69 63 65 55 |o true.p|ut DiceU|
|00005360| 73 65 64 20 2b 20 31 20 | 69 6e 74 6f 20 44 69 63 |sed + 1 |into Dic|
|00005370| 65 55 73 65 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |eUsed.en|d if.end|
|00005380| 20 69 66 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d | if.end |mouseUp.|
|00005390| 00 00 01 94 00 0e 01 00 | 00 00 01 3d 00 23 01 61 |........|...=.#.a|
|000053a0| 40 00 00 00 08 38 00 01 | 00 00 00 0c 00 00 00 10 |@....8..|........|
|000053b0| 44 35 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 47 |D5..on m|ouseUp.G|
|000053c0| 6c 6f 62 61 6c 20 44 69 | 63 65 55 73 65 64 0d 69 |lobal Di|ceUsed.i|
|000053d0| 66 20 62 67 20 66 69 65 | 6c 64 20 22 52 6f 6c 6c |f bg fie|ld "Roll|
|000053e0| 23 22 20 3d 20 22 22 0d | 74 68 65 6e 0d 70 6c 61 |#" = "".|then.pla|
|000053f0| 79 20 22 42 75 7a 7a 65 | 72 22 0d 61 6e 73 77 65 |y "Buzze|r".answe|
|00005400| 72 20 22 59 6f 75 20 68 | 61 76 65 20 74 6f 20 72 |r "You h|ave to r|
|00005410| 6f 6c 6c 20 61 6c 6c 20 | 74 68 65 20 64 69 63 65 |oll all |the dice|
|00005420| 20 74 68 65 20 66 69 72 | 73 74 20 74 69 6d 65 2e | the fir|st time.|
|00005430| 22 20 77 69 74 68 20 22 | 6f 6b 22 0d 65 78 69 74 |" with "|ok".exit|
|00005440| 20 6d 6f 75 73 65 55 70 | 0d 65 6e 64 20 69 66 0d | mouseUp|.end if.|
|00005450| 69 66 20 68 69 6c 69 67 | 68 74 20 6f 66 20 6d 65 |if hilig|ht of me|
|00005460| 20 69 73 20 74 72 75 65 | 0d 74 68 65 6e 0d 70 6c | is true|.then.pl|
|00005470| 61 79 20 22 55 6e 53 65 | 6c 65 63 74 44 69 65 22 |ay "UnSe|lectDie"|
|00005480| 0d 73 65 74 20 68 69 6c | 69 67 68 74 20 6f 66 20 |.set hil|ight of |
|00005490| 6d 65 20 74 6f 20 66 61 | 6c 73 65 0d 65 6c 73 65 |me to fa|lse.else|
|000054a0| 0d 69 66 20 68 69 6c 69 | 67 68 74 20 6f 66 20 6d |.if hili|ght of m|
|000054b0| 65 20 69 73 20 66 61 6c | 73 65 0d 74 68 65 6e 0d |e is fal|se.then.|
|000054c0| 70 6c 61 79 20 22 53 65 | 6c 65 63 74 44 69 65 22 |play "Se|lectDie"|
|000054d0| 0d 73 65 74 20 68 69 6c | 69 67 68 74 20 6f 66 20 |.set hil|ight of |
|000054e0| 6d 65 20 74 6f 20 74 72 | 75 65 0d 70 75 74 20 44 |me to tr|ue.put D|
|000054f0| 69 63 65 55 73 65 64 20 | 2b 20 31 20 69 6e 74 6f |iceUsed |+ 1 into|
|00005500| 20 44 69 63 65 55 73 65 | 64 0d 65 6e 64 20 69 66 | DiceUse|d.end if|
|00005510| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6d 6f 75 73 |.end if.|end mous|
|00005520| 65 55 70 0d 00 00 09 24 | 00 0f 01 00 00 00 00 6c |eUp....$|.......l|
|00005530| 00 23 00 90 20 00 00 00 | 78 d5 00 01 00 00 00 0c |.#.. ...|x.......|
|00005540| 00 00 00 10 52 6f 6c 6c | 00 00 6f 6e 20 6d 6f 75 |....Roll|..on mou|
|00005550| 73 65 55 70 0d 2d 2d 2d | 2d 20 43 68 65 63 6b 20 |seUp.---|- Check |
|00005560| 46 6f 72 20 56 61 6c 69 | 64 20 52 6f 6c 6c 20 2d |For Vali|d Roll -|
|00005570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 70 75 74 |--------|----.put|
|00005580| 20 22 6e 6f 22 20 69 6e | 74 6f 20 64 6f 69 74 0d | "no" in|to doit.|
|00005590| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|000055a0| 31 20 74 6f 20 35 0d 69 | 66 20 68 69 6c 69 67 68 |1 to 5.i|f hiligh|
|000055b0| 74 20 6f 66 20 62 67 20 | 62 75 74 74 6f 6e 20 78 |t of bg |button x|
|000055c0| 20 69 73 20 74 72 75 65 | 0d 74 68 65 6e 0d 69 66 | is true|.then.if|
|000055d0| 20 62 67 20 66 69 65 6c | 64 20 22 52 6f 6c 6c 23 | bg fiel|d "Roll#|
|000055e0| 22 20 3c 20 33 20 74 68 | 65 6e 20 70 75 74 20 22 |" < 3 th|en put "|
|000055f0| 79 65 73 22 20 69 6e 74 | 6f 20 64 6f 69 74 0d 65 |yes" int|o doit.e|
|00005600| 6c 73 65 0d 70 6c 61 79 | 20 22 62 75 7a 7a 65 72 |lse.play| "buzzer|
|00005610| 22 0d 61 6e 73 77 65 72 | 20 22 59 6f 75 20 68 61 |".answer| "You ha|
|00005620| 76 65 20 6e 6f 20 6d 6f | 72 65 20 72 6f 6c 6c 73 |ve no mo|re rolls|
|00005630| 20 6c 65 66 74 2e 22 20 | 77 69 74 68 20 22 6f 6b | left." |with "ok|
|00005640| 22 0d 65 78 69 74 20 4d | 6f 75 73 65 55 50 0d 65 |".exit M|ouseUP.e|
|00005650| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005660| 20 72 65 70 65 61 74 0d | 2d 2d 2d 2d 2d 2d 2d 2d | repeat.|--------|
|00005670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005690| 0d 0d 69 66 20 64 6f 69 | 74 20 3d 20 22 79 65 73 |..if doi|t = "yes|
|000056a0| 22 20 74 68 65 6e 20 52 | 6f 6c 6c 0d 65 6c 73 65 |" then R|oll.else|
|000056b0| 0d 50 6c 61 79 20 22 73 | 6f 72 72 79 22 0d 61 6e |.Play "s|orry".an|
|000056c0| 73 77 65 72 20 22 59 6f | 75 20 6e 65 65 64 20 74 |swer "Yo|u need t|
|000056d0| 6f 20 73 65 6c 65 63 74 | 20 77 68 69 63 68 20 64 |o select| which d|
|000056e0| 69 63 65 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |ice you |want to |
|000056f0| 72 6f 6c 6c 2e 22 20 77 | 69 74 68 20 22 6f 6b 22 |roll." w|ith "ok"|
|00005700| 0d 65 78 69 74 20 6d 6f | 75 73 65 55 50 0d 65 6e |.exit mo|useUP.en|
|00005710| 64 20 69 66 0d 0d 52 65 | 73 75 6c 74 0d 0d 65 6e |d if..Re|sult..en|
|00005720| 64 20 6d 6f 75 73 65 55 | 70 0d 0d 6f 6e 20 47 65 |d mouseU|p..on Ge|
|00005730| 74 44 69 63 65 4e 75 6d | 62 65 72 0d 47 6c 6f 62 |tDiceNum|ber.Glob|
|00005740| 61 6c 20 44 69 63 65 55 | 73 65 64 0d 67 6c 6f 62 |al DiceU|sed.glob|
|00005750| 61 6c 20 44 69 63 65 52 | 6f 6c 6c 65 64 0d 67 6c |al DiceR|olled.gl|
|00005760| 6f 62 61 6c 20 44 69 63 | 65 53 68 61 6b 65 64 0d |obal Dic|eShaked.|
|00005770| 69 66 20 44 69 63 65 55 | 73 65 64 20 3d 20 31 0d |if DiceU|sed = 1.|
|00005780| 74 68 65 6e 0d 70 75 74 | 20 22 52 6f 6c 6c 31 22 |then.put| "Roll1"|
|00005790| 20 69 6e 74 6f 20 44 69 | 63 65 52 6f 6c 6c 65 64 | into Di|ceRolled|
|000057a0| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 44 69 63 |.put "" |into Dic|
|000057b0| 65 53 68 61 6b 65 64 0d | 65 6e 64 20 69 66 0d 69 |eShaked.|end if.i|
|000057c0| 66 20 44 69 63 65 55 73 | 65 64 20 3d 20 32 0d 74 |f DiceUs|ed = 2.t|
|000057d0| 68 65 6e 0d 70 75 74 20 | 22 52 6f 6c 6c 32 22 20 |hen.put |"Roll2" |
|000057e0| 69 6e 74 6f 20 44 69 63 | 65 52 6f 6c 6c 65 64 0d |into Dic|eRolled.|
|000057f0| 70 75 74 20 22 48 61 6e | 64 53 68 61 6b 65 32 74 |put "Han|dShake2t|
|00005800| 6f 33 22 20 69 6e 74 6f | 20 44 69 63 65 53 68 61 |o3" into| DiceSha|
|00005810| 6b 65 64 0d 65 6e 64 20 | 69 66 0d 69 66 20 44 69 |ked.end |if.if Di|
|00005820| 63 65 55 73 65 64 20 3d | 20 33 0d 74 68 65 6e 0d |ceUsed =| 3.then.|
|00005830| 70 75 74 20 22 52 6f 6c | 6c 33 74 6f 34 22 20 69 |put "Rol|l3to4" i|
|00005840| 6e 74 6f 20 44 69 63 65 | 52 6f 6c 6c 65 64 0d 70 |nto Dice|Rolled.p|
|00005850| 75 74 20 22 48 61 6e 64 | 53 68 61 6b 65 32 74 6f |ut "Hand|Shake2to|
|00005860| 33 22 20 69 6e 74 6f 20 | 44 69 63 65 53 68 61 6b |3" into |DiceShak|
|00005870| 65 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 44 69 63 |ed.end i|f.if Dic|
|00005880| 65 55 73 65 64 20 3d 20 | 34 0d 74 68 65 6e 0d 70 |eUsed = |4.then.p|
|00005890| 75 74 20 22 52 6f 6c 6c | 33 74 6f 34 22 20 69 6e |ut "Roll|3to4" in|
|000058a0| 74 6f 20 44 69 63 65 52 | 6f 6c 6c 65 64 0d 70 75 |to DiceR|olled.pu|
|000058b0| 74 20 22 48 61 6e 64 53 | 68 61 6b 65 35 22 20 69 |t "HandS|hake5" i|
|000058c0| 6e 74 6f 20 44 69 63 65 | 53 68 61 6b 65 64 0d 65 |nto Dice|Shaked.e|
|000058d0| 6e 64 20 69 66 0d 69 66 | 20 44 69 63 65 55 73 65 |nd if.if| DiceUse|
|000058e0| 64 20 3d 20 35 0d 74 68 | 65 6e 0d 70 75 74 20 22 |d = 5.th|en.put "|
|000058f0| 52 6f 6c 6c 35 22 20 69 | 6e 74 6f 20 44 69 63 65 |Roll5" i|nto Dice|
|00005900| 52 6f 6c 6c 65 64 0d 70 | 75 74 20 22 48 61 6e 64 |Rolled.p|ut "Hand|
|00005910| 53 68 61 6b 65 35 22 20 | 69 6e 74 6f 20 44 69 63 |Shake5" |into Dic|
|00005920| 65 53 68 61 6b 65 64 0d | 65 6e 64 20 69 66 0d 70 |eShaked.|end if.p|
|00005930| 75 74 20 30 20 69 6e 74 | 6f 20 44 69 63 65 55 73 |ut 0 int|o DiceUs|
|00005940| 65 64 0d 65 6e 64 20 47 | 65 74 44 69 63 65 4e 75 |ed.end G|etDiceNu|
|00005950| 6d 62 65 72 0d 0d 6f 6e | 20 52 6f 6c 6c 0d 67 6c |mber..on| Roll.gl|
|00005960| 6f 62 61 6c 20 4c 61 73 | 74 41 63 74 69 6f 6e 0d |obal Las|tAction.|
|00005970| 67 6c 6f 62 61 6c 20 44 | 69 63 65 52 6f 6c 6c 65 |global D|iceRolle|
|00005980| 64 0d 67 6c 6f 62 61 6c | 20 44 69 63 65 53 68 61 |d.global| DiceSha|
|00005990| 6b 65 64 0d 47 65 74 44 | 69 63 65 4e 75 6d 62 65 |ked.GetD|iceNumbe|
|000059a0| 72 0d 70 75 74 20 62 67 | 20 66 69 65 6c 64 20 22 |r.put bg| field "|
|000059b0| 52 6f 6c 6c 23 22 20 69 | 6e 74 6f 20 62 67 20 66 |Roll#" i|nto bg f|
|000059c0| 69 65 6c 64 20 22 4c 61 | 73 74 52 6f 6c 6c 22 0d |ield "La|stRoll".|
|000059d0| 70 75 74 20 62 67 20 66 | 69 65 6c 64 20 22 44 69 |put bg f|ield "Di|
|000059e0| 63 65 22 20 69 6e 74 6f | 20 62 67 20 66 69 65 6c |ce" into| bg fiel|
|000059f0| 64 20 22 54 65 6d 70 22 | 0d 70 75 74 20 22 52 6f |d "Temp"|.put "Ro|
|00005a00| 6c 6c 22 20 69 6e 74 6f | 20 4c 61 73 74 41 63 74 |ll" into| LastAct|
|00005a10| 69 6f 6e 0d 70 75 74 20 | 62 67 20 66 69 65 6c 64 |ion.put |bg field|
|00005a20| 20 22 52 6f 6c 6c 23 22 | 20 2b 31 20 69 6e 74 6f | "Roll#"| +1 into|
|00005a30| 20 62 67 20 66 69 65 6c | 64 20 22 52 6f 6c 6c 23 | bg fiel|d "Roll#|
|00005a40| 22 0d 70 75 74 20 28 74 | 68 65 20 72 61 6e 64 6f |".put (t|he rando|
|00005a50| 6d 20 6f 66 20 33 29 20 | 69 6e 74 6f 20 79 0d 72 |m of 3) |into y.r|
|00005a60| 65 70 65 61 74 20 77 69 | 74 68 20 74 20 3d 20 31 |epeat wi|th t = 1|
|00005a70| 20 74 6f 20 79 0d 70 6c | 61 79 20 44 69 63 65 53 | to y.pl|ay DiceS|
|00005a80| 68 61 6b 65 64 0d 69 66 | 20 68 69 6c 69 67 68 74 |haked.if| hilight|
|00005a90| 20 6f 66 20 62 67 20 62 | 75 74 74 6f 6e 20 33 20 | of bg b|utton 3 |
|00005aa0| 69 73 20 74 72 75 65 0d | 74 68 65 6e 0d 70 75 74 |is true.|then.put|
|00005ab0| 20 74 68 65 20 72 61 6e | 64 6f 6d 20 6f 66 20 36 | the ran|dom of 6|
|00005ac0| 20 69 6e 74 6f 20 78 0d | 73 65 74 20 69 63 6f 6e | into x.|set icon|
|00005ad0| 20 6f 66 20 62 67 20 62 | 75 74 74 6f 6e 20 33 20 | of bg b|utton 3 |
|00005ae0| 74 6f 20 28 32 31 30 30 | 2b 78 29 0d 65 6e 64 20 |to (2100|+x).end |
|00005af0| 69 66 0d 69 66 20 68 69 | 6c 69 67 68 74 20 6f 66 |if.if hi|light of|
|00005b00| 20 62 67 20 62 75 74 74 | 6f 6e 20 31 20 69 73 20 | bg butt|on 1 is |
|00005b10| 74 72 75 65 0d 74 68 65 | 6e 0d 70 75 74 20 74 68 |true.the|n.put th|
|00005b20| 65 20 72 61 6e 64 6f 6d | 20 6f 66 20 36 20 69 6e |e random| of 6 in|
|00005b30| 74 6f 20 78 0d 73 65 74 | 20 69 63 6f 6e 20 6f 66 |to x.set| icon of|
|00005b40| 20 62 67 20 62 75 74 74 | 6f 6e 20 31 20 74 6f 20 | bg butt|on 1 to |
|00005b50| 28 32 31 30 30 2b 78 29 | 0d 65 6e 64 20 69 66 0d |(2100+x)|.end if.|
|00005b60| 69 66 20 68 69 6c 69 67 | 68 74 20 6f 66 20 62 67 |if hilig|ht of bg|
|00005b70| 20 62 75 74 74 6f 6e 20 | 35 20 69 73 20 74 72 75 | button |5 is tru|
|00005b80| 65 0d 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 72 |e.then.p|ut the r|
|00005b90| 61 6e 64 6f 6d 20 6f 66 | 20 36 20 69 6e 74 6f 20 |andom of| 6 into |
|00005ba0| 78 0d 73 65 74 20 69 63 | 6f 6e 20 6f 66 20 62 67 |x.set ic|on of bg|
|00005bb0| 20 62 75 74 74 6f 6e 20 | 35 20 74 6f 20 28 32 31 | button |5 to (21|
|00005bc0| 30 30 2b 78 29 0d 65 6e | 64 20 69 66 0d 69 66 20 |00+x).en|d if.if |
|00005bd0| 68 69 6c 69 67 68 74 20 | 6f 66 20 62 67 20 62 75 |hilight |of bg bu|
|00005be0| 74 74 6f 6e 20 34 20 69 | 73 20 74 72 75 65 0d 74 |tton 4 i|s true.t|
|00005bf0| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 72 61 6e 64 |hen.put |the rand|
|00005c00| 6f 6d 20 6f 66 20 36 20 | 69 6e 74 6f 20 78 0d 73 |om of 6 |into x.s|
|00005c10| 65 74 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 75 |et icon |of bg bu|
|00005c20| 74 74 6f 6e 20 34 20 74 | 6f 20 28 32 31 30 30 2b |tton 4 t|o (2100+|
|00005c30| 78 29 0d 65 6e 64 20 69 | 66 0d 69 66 20 68 69 6c |x).end i|f.if hil|
|00005c40| 69 67 68 74 20 6f 66 20 | 62 67 20 62 75 74 74 6f |ight of |bg butto|
|00005c50| 6e 20 32 20 69 73 20 74 | 72 75 65 0d 74 68 65 6e |n 2 is t|rue.then|
|00005c60| 0d 70 75 74 20 74 68 65 | 20 72 61 6e 64 6f 6d 20 |.put the| random |
|00005c70| 6f 66 20 36 20 69 6e 74 | 6f 20 78 0d 73 65 74 20 |of 6 int|o x.set |
|00005c80| 69 63 6f 6e 20 6f 66 20 | 62 67 20 62 75 74 74 6f |icon of |bg butto|
|00005c90| 6e 20 32 20 74 6f 20 28 | 32 31 30 30 2b 78 29 0d |n 2 to (|2100+x).|
|00005ca0| 65 6e 64 20 69 66 0d 77 | 61 69 74 20 75 6e 74 69 |end if.w|ait unti|
|00005cb0| 6c 20 74 68 65 20 73 6f | 75 6e 64 20 69 73 20 22 |l the so|und is "|
|00005cc0| 64 6f 6e 65 22 0d 65 6e | 64 20 72 65 70 65 61 74 |done".en|d repeat|
|00005cd0| 0d 70 6c 61 79 20 44 69 | 63 65 52 6f 6c 6c 65 64 |.play Di|ceRolled|
|00005ce0| 0d 63 6c 65 61 72 64 69 | 63 65 0d 65 6e 64 20 52 |.cleardi|ce.end R|
|00005cf0| 6f 6c 6c 0d 0d 6f 6e 20 | 52 65 73 75 6c 74 0d 70 |oll..on |Result.p|
|00005d00| 75 74 20 28 69 63 6f 6e | 20 6f 66 20 62 67 20 62 |ut (icon| of bg b|
|00005d10| 75 74 74 6f 6e 20 31 29 | 20 2d 20 32 31 30 30 20 |utton 1)| - 2100 |
|00005d20| 69 6e 74 6f 20 54 45 4d | 50 0d 70 75 74 20 54 45 |into TEM|P.put TE|
|00005d30| 4d 50 20 26 20 52 45 54 | 55 52 4e 20 26 20 28 69 |MP & RET|URN & (i|
|00005d40| 63 6f 6e 20 6f 66 20 62 | 67 20 62 75 74 74 6f 6e |con of b|g button|
|00005d50| 20 32 29 20 2d 20 32 31 | 30 30 20 69 6e 74 6f 20 | 2) - 21|00 into |
|00005d60| 54 45 4d 50 0d 70 75 74 | 20 54 45 4d 50 20 26 20 |TEMP.put| TEMP & |
|00005d70| 52 45 54 55 52 4e 20 26 | 20 28 69 63 6f 6e 20 6f |RETURN &| (icon o|
|00005d80| 66 20 62 67 20 62 75 74 | 74 6f 6e 20 33 29 20 2d |f bg but|ton 3) -|
|00005d90| 20 32 31 30 30 20 69 6e | 74 6f 20 54 45 4d 50 0d | 2100 in|to TEMP.|
|00005da0| 70 75 74 20 54 45 4d 50 | 20 26 20 52 45 54 55 52 |put TEMP| & RETUR|
|00005db0| 4e 20 26 20 28 69 63 6f | 6e 20 6f 66 20 62 67 20 |N & (ico|n of bg |
|00005dc0| 62 75 74 74 6f 6e 20 34 | 29 20 2d 20 32 31 30 30 |button 4|) - 2100|
|00005dd0| 20 69 6e 74 6f 20 54 45 | 4d 50 0d 70 75 74 20 54 | into TE|MP.put T|
|00005de0| 45 4d 50 20 26 20 52 45 | 54 55 52 4e 20 26 20 28 |EMP & RE|TURN & (|
|00005df0| 69 63 6f 6e 20 6f 66 20 | 62 67 20 62 75 74 74 6f |icon of |bg butto|
|00005e00| 6e 20 35 29 20 2d 20 32 | 31 30 30 20 69 6e 74 6f |n 5) - 2|100 into|
|00005e10| 20 54 45 4d 50 0d 73 6f | 72 74 20 54 45 4d 50 0d | TEMP.so|rt TEMP.|
|00005e20| 70 75 74 20 54 45 4d 50 | 20 69 6e 74 6f 20 62 67 |put TEMP| into bg|
|00005e30| 20 66 69 65 6c 64 20 22 | 44 69 63 65 22 0d 65 6e | field "|Dice".en|
|00005e40| 64 20 52 65 73 75 6c 74 | 0d 00 06 3c 00 10 02 09 |d Result|...<....|
|00005e50| 00 9d 00 4e 00 f1 00 74 | 40 02 00 00 00 00 00 01 |...N...t|@.......|
|00005e60| 00 03 00 0a 00 00 00 0c | 42 6f 74 74 6f 6d 20 53 |........|Bottom S|
|00005e70| 65 63 74 69 6f 6e 20 31 | 41 00 00 6f 6e 20 4d 6f |ection 1|A..on Mo|
|00005e80| 75 73 65 75 70 0d 70 6c | 61 79 20 22 63 6c 69 63 |useup.pl|ay "clic|
|00005e90| 6b 22 0d 47 6c 6f 62 61 | 6c 20 4c 61 73 74 41 63 |k".Globa|l LastAc|
|00005ea0| 74 69 6f 6e 0d 47 6c 6f | 62 61 6c 20 53 74 6f 70 |tion.Glo|bal Stop|
|00005eb0| 0d 70 75 74 20 22 46 61 | 6c 73 65 22 20 69 6e 74 |.put "Fa|lse" int|
|00005ec0| 6f 20 53 74 6f 70 0d 47 | 6c 6f 62 61 6c 20 56 61 |o Stop.G|lobal Va|
|00005ed0| 6c 75 65 0d 50 75 74 20 | 30 20 69 6e 74 6f 20 56 |lue.Put |0 into V|
|00005ee0| 61 6c 75 65 0d 47 6c 6f | 62 61 6c 20 50 6c 61 79 |alue.Glo|bal Play|
|00005ef0| 65 72 4e 6f 0d 2d 2d 2d | 2d 2d 2d 20 43 68 65 63 |erNo.---|--- Chec|
|00005f00| 6b 74 75 72 6e 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |kturn---|--------|
|00005f10| 2d 2d 2d 2d 2d 0d 50 75 | 74 20 63 68 61 72 61 63 |-----.Pu|t charac|
|00005f20| 74 65 72 20 31 20 6f 66 | 20 74 68 65 20 6c 61 73 |ter 1 of| the las|
|00005f30| 74 20 77 6f 72 64 20 6f | 66 20 74 68 65 20 73 68 |t word o|f the sh|
|00005f40| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 6d 65 20 69 |ort name| of me i|
|00005f50| 6e 74 6f 20 4e 55 4d 42 | 45 52 0d 69 66 20 50 6c |nto NUMB|ER.if Pl|
|00005f60| 61 79 65 72 4e 6f 20 3c | 3e 20 4e 55 4d 42 45 52 |ayerNo <|> NUMBER|
|00005f70| 0d 74 68 65 6e 0d 70 75 | 74 20 62 67 20 66 69 65 |.then.pu|t bg fie|
|00005f80| 6c 64 20 28 22 70 6c 61 | 79 65 72 22 20 26 20 4e |ld ("pla|yer" & N|
|00005f90| 55 4d 42 45 52 29 20 69 | 6e 74 6f 20 4e 61 6d 65 |UMBER) i|nto Name|
|00005fa0| 0d 69 66 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |.if the |last cha|
|00005fb0| 72 20 6f 66 20 4e 61 6d | 65 20 3d 20 22 73 22 20 |r of Nam|e = "s" |
|00005fc0| 74 68 65 6e 20 70 75 74 | 20 4e 61 6d 65 20 26 20 |then put| Name & |
|00005fd0| 22 27 22 20 69 6e 74 6f | 20 4e 61 6d 65 0d 65 6c |"'" into| Name.el|
|00005fe0| 73 65 20 70 75 74 20 6e | 61 6d 65 20 26 20 22 27 |se put n|ame & "'|
|00005ff0| 73 22 20 69 6e 74 6f 20 | 4e 61 6d 65 0d 61 6e 73 |s" into |Name.ans|
|00006000| 77 65 72 20 22 49 74 20 | 69 73 20 6e 6f 74 22 20 |wer "It |is not" |
|00006010| 26 26 20 4e 61 6d 65 20 | 26 26 20 22 74 75 72 6e |&& Name |&& "turn|
|00006020| 2e 22 20 77 69 74 68 20 | 22 6f 6b 22 0d 65 78 69 |." with |"ok".exi|
|00006030| 74 20 4d 6f 75 73 65 55 | 70 0d 65 6e 64 20 69 66 |t MouseU|p.end if|
|00006040| 0d 0d 43 68 65 63 6b 46 | 6f 72 52 6f 6c 6c 0d 69 |..CheckF|orRoll.i|
|00006050| 66 20 53 74 6f 70 20 3d | 20 22 54 72 75 65 22 20 |f Stop =| "True" |
|00006060| 74 68 65 6e 20 65 78 69 | 74 20 4d 6f 75 73 65 55 |then exi|t MouseU|
|00006070| 50 0d 0d 43 68 65 63 6b | 42 6c 61 6e 6b 0d 69 66 |P..Check|Blank.if|
|00006080| 20 53 74 6f 70 20 3d 20 | 22 54 72 75 65 22 20 74 | Stop = |"True" t|
|00006090| 68 65 6e 20 65 78 69 74 | 20 4d 6f 75 73 65 55 50 |hen exit| MouseUP|
|000060a0| 0d 0d 2d 2d 20 63 68 65 | 63 69 6e 67 20 66 6f 72 |..-- che|cing for|
|000060b0| 20 61 20 6e 6f 6e 20 65 | 6e 74 65 72 69 6e 67 20 | a non e|ntering |
|000060c0| 66 69 65 6c 64 20 2d 2d | 2d 2d 2d 2d 2d 2d 0d 70 |field --|------.p|
|000060d0| 75 74 20 77 6f 72 64 20 | 32 20 6f 66 20 74 68 65 |ut word |2 of the|
|000060e0| 20 63 6c 69 63 6b 6c 69 | 6e 65 20 69 6e 74 6f 20 | clickli|ne into |
|000060f0| 74 65 6d 70 0d 69 66 20 | 74 65 6d 70 20 3e 3d 20 |temp.if |temp >= |
|00006100| 38 0d 74 68 65 6e 0d 41 | 75 74 6f 6d 61 74 69 63 |8.then.A|utomatic|
|00006110| 4d 65 73 73 61 67 65 0d | 65 78 69 74 20 4d 6f 75 |Message.|exit Mou|
|00006120| 73 65 55 70 0d 65 6e 64 | 20 69 66 0d 2d 2d 2d 2d |seUp.end| if.----|
|00006130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006150| 2d 2d 2d 0d 0d 2d 2d 20 | 73 65 74 69 6e 67 20 75 |---..-- |seting u|
|00006160| 70 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |p inform|ation fo|
|00006170| 72 20 55 4e 44 4f 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |r UNDO--|--------|
|00006180| 2d 2d 0d 70 75 74 20 6d | 65 20 69 6e 74 6f 20 62 |--.put m|e into b|
|00006190| 67 20 66 69 65 6c 64 20 | 22 54 45 4d 50 22 0d 50 |g field |"TEMP".P|
|000061a0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |ut the s|hort nam|
|000061b0| 65 20 6f 66 20 6d 65 20 | 69 6e 74 6f 20 4c 61 73 |e of me |into Las|
|000061c0| 74 41 63 74 69 6f 6e 0d | 0d 2d 2d 2d 2d 20 44 6f |tAction.|.---- Do|
|000061d0| 20 74 68 65 20 4d 61 74 | 68 20 2d 2d 2d 2d 2d 2d | the Mat|h ------|
|000061e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000061f0| 2d 0d 70 6c 61 79 20 22 | 75 6e 64 6f 22 0d 70 75 |-.play "|undo".pu|
|00006200| 74 20 77 6f 72 64 20 32 | 20 6f 66 20 74 68 65 20 |t word 2| of the |
|00006210| 63 6c 69 63 6b 6c 69 6e | 65 20 69 6e 74 6f 20 74 |clicklin|e into t|
|00006220| 65 6d 70 0d 69 66 20 74 | 65 6d 70 20 3d 20 31 20 |emp.if t|emp = 1 |
|00006230| 74 68 65 6e 20 54 68 72 | 65 65 4b 69 6e 64 0d 69 |then Thr|eeKind.i|
|00006240| 66 20 74 65 6d 70 20 3d | 20 32 20 74 68 65 6e 20 |f temp =| 2 then |
|00006250| 46 6f 75 72 4b 69 6e 64 | 0d 69 66 20 74 65 6d 70 |FourKind|.if temp|
|00006260| 20 3d 20 33 20 74 68 65 | 6e 20 46 75 6c 6c 48 6f | = 3 the|n FullHo|
|00006270| 75 73 65 0d 69 66 20 74 | 65 6d 70 20 3d 20 34 20 |use.if t|emp = 4 |
|00006280| 74 68 65 6e 20 53 6d 61 | 6c 6c 53 74 72 61 69 67 |then Sma|llStraig|
|00006290| 68 74 0d 69 66 20 74 65 | 6d 70 20 3d 20 35 20 74 |ht.if te|mp = 5 t|
|000062a0| 68 65 6e 20 4c 61 72 67 | 65 53 74 72 61 69 67 68 |hen Larg|eStraigh|
|000062b0| 74 0d 69 66 20 74 65 6d | 70 20 3d 20 36 20 74 68 |t.if tem|p = 6 th|
|000062c0| 65 6e 20 59 61 68 74 7a | 65 65 0d 69 66 20 74 65 |en Yahtz|ee.if te|
|000062d0| 6d 70 20 3d 20 37 20 74 | 68 65 6e 20 43 68 61 6e |mp = 7 t|hen Chan|
|000062e0| 63 65 0d 0d 69 66 20 6c | 61 73 74 20 63 68 61 72 |ce..if l|ast char|
|000062f0| 20 6f 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | of the |short na|
|00006300| 6d 65 20 6f 66 20 6d 65 | 20 3d 20 22 41 22 0d 74 |me of me| = "A".t|
|00006310| 68 65 6e 20 70 75 74 20 | 56 61 6c 75 65 20 69 6e |hen put |Value in|
|00006320| 74 6f 20 74 68 65 20 43 | 6c 69 63 6b 4c 69 6e 65 |to the C|lickLine|
|00006330| 0d 69 66 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |.if last| char of|
|00006340| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00006350| 6f 66 20 6d 65 20 3d 20 | 22 42 22 0d 74 68 65 6e |of me = |"B".then|
|00006360| 20 70 75 74 20 56 61 6c | 75 65 20 2a 20 32 20 69 | put Val|ue * 2 i|
|00006370| 6e 74 6f 20 74 68 65 20 | 43 6c 69 63 6b 4c 69 6e |nto the |ClickLin|
|00006380| 65 0d 69 66 20 6c 61 73 | 74 20 63 68 61 72 20 6f |e.if las|t char o|
|00006390| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|000063a0| 20 6f 66 20 6d 65 20 3d | 20 22 43 22 0d 74 68 65 | of me =| "C".the|
|000063b0| 6e 20 70 75 74 20 56 61 | 6c 75 65 20 2a 20 33 20 |n put Va|lue * 3 |
|000063c0| 69 6e 74 6f 20 74 68 65 | 20 43 6c 69 63 6b 4c 69 |into the| ClickLi|
|000063d0| 6e 65 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ne.-----|--------|
|000063e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000063f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 70 75 74 20 |--------|---.put |
+--------+-------------------------+-------------------------+--------+--------+